de.lmu.ifi.dbs.elki.algorithm.outlier.spatial.neighborhood
Class AbstractPrecomputedNeighborhood

java.lang.Object
  extended by 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.


Nested Class Summary
static class AbstractPrecomputedNeighborhood.Factory<O>
          Factory class.
 
Field Summary
protected  DataStore<DBIDs> store
          The data
 
Constructor Summary
AbstractPrecomputedNeighborhood(DataStore<DBIDs> store)
          Constructor.
 
Method Summary
protected abstract  Logging getLogger()
          The logger to use for error reporting.
 DBIDs getNeighborDBIDs(DBID reference)
          Get the neighbors of a reference object for DBSCAN.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.lmu.ifi.dbs.elki.result.Result
getLongName, getShortName
 

Field Detail

store

protected DataStore<DBIDs> store
The data

Constructor Detail

AbstractPrecomputedNeighborhood

public AbstractPrecomputedNeighborhood(DataStore<DBIDs> store)
Constructor.

Parameters:
store - the actual data.
Method Detail

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

Release 0.4.0 (2011-09-20_1324)