de.lmu.ifi.dbs.elki.algorithm.outlier.spatial.neighborhood
Class AbstractPrecomputedNeighborhood
java.lang.Object
de.lmu.ifi.dbs.elki.algorithm.outlier.spatial.neighborhood.AbstractPrecomputedNeighborhood
- All Implemented Interfaces:
- NeighborSetPredicate, Result
- Direct Known Subclasses:
- ExtendedNeighborhood, ExternalNeighborhood, PrecomputedKNearestNeighborNeighborhood
public abstract class AbstractPrecomputedNeighborhood
- extends Object
- implements NeighborSetPredicate
Abstract base class for precomputed neighborhoods.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
store
protected DataStore<DBIDs> store
- The data
AbstractPrecomputedNeighborhood
public AbstractPrecomputedNeighborhood(DataStore<DBIDs> store)
- Constructor.
- Parameters:
store
- the actual data.
getNeighborDBIDs
public DBIDs getNeighborDBIDs(DBID reference)
- Description copied from interface:
NeighborSetPredicate
- Get the neighbors of a reference object for DBSCAN.
- Specified by:
getNeighborDBIDs
in interface NeighborSetPredicate
- Parameters:
reference
- Reference object
- Returns:
- Neighborhood
getLogger
protected abstract Logging getLogger()
- The logger to use for error reporting.
- Returns:
- Logger