Class AbstractPrecomputedNeighborhood
- java.lang.Object
-
- elki.outlier.spatial.neighborhood.AbstractPrecomputedNeighborhood
-
- All Implemented Interfaces:
NeighborSetPredicate
- Direct Known Subclasses:
ExtendedNeighborhood
,ExternalNeighborhood
,PrecomputedKNearestNeighborNeighborhood
public abstract class AbstractPrecomputedNeighborhood extends java.lang.Object implements NeighborSetPredicate
Abstract base class for precomputed neighborhoods.- Since:
- 0.4.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractPrecomputedNeighborhood.Factory<O>
Factory class.
-
Constructor Summary
Constructors Constructor Description AbstractPrecomputedNeighborhood(DataStore<DBIDs> store)
Constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract Logging
getLogger()
The logger to use for error reporting.DBIDs
getNeighborDBIDs(DBIDRef reference)
Get the neighbors of a reference object for DBSCAN.
-
-
-
Method Detail
-
getNeighborDBIDs
public DBIDs getNeighborDBIDs(DBIDRef reference)
Description copied from interface:NeighborSetPredicate
Get the neighbors of a reference object for DBSCAN.- Specified by:
getNeighborDBIDs
in interfaceNeighborSetPredicate
- Parameters:
reference
- Reference object- Returns:
- Neighborhood
-
getLogger
protected abstract Logging getLogger()
The logger to use for error reporting.- Returns:
- Logger
-
-