de.lmu.ifi.dbs.elki.algorithm.outlier.spatial.neighborhood
Class PrecomputedKNearestNeighborNeighborhood<D extends Distance<D>>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.algorithm.outlier.spatial.neighborhood.AbstractPrecomputedNeighborhood
      extended by de.lmu.ifi.dbs.elki.algorithm.outlier.spatial.neighborhood.PrecomputedKNearestNeighborNeighborhood<D>
Type Parameters:
D - Distance to use
All Implemented Interfaces:
NeighborSetPredicate, Result

public class PrecomputedKNearestNeighborNeighborhood<D extends Distance<D>>
extends AbstractPrecomputedNeighborhood

Neighborhoods based on k nearest neighbors.


Nested Class Summary
static class PrecomputedKNearestNeighborNeighborhood.Factory<O,D extends Distance<D>>
          Factory class to instantiate for a particular relation.
 
Field Summary
private static Logging logger
          Logger
 
Fields inherited from class de.lmu.ifi.dbs.elki.algorithm.outlier.spatial.neighborhood.AbstractPrecomputedNeighborhood
store
 
Constructor Summary
PrecomputedKNearestNeighborNeighborhood(DataStore<DBIDs> store)
          Constructor.
 
Method Summary
protected  Logging getLogger()
          The logger to use for error reporting.
 String getLongName()
          A "pretty" name for the result, for use in titles, captions and menus.
 String getShortName()
          A short name for the result, useful for file names.
 
Methods inherited from class de.lmu.ifi.dbs.elki.algorithm.outlier.spatial.neighborhood.AbstractPrecomputedNeighborhood
getNeighborDBIDs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static final Logging logger
Logger

Constructor Detail

PrecomputedKNearestNeighborNeighborhood

public PrecomputedKNearestNeighborNeighborhood(DataStore<DBIDs> store)
Constructor.

Parameters:
store - Store to access
Method Detail

getLongName

public String getLongName()
Description copied from interface: Result
A "pretty" name for the result, for use in titles, captions and menus.

Returns:
result name

getShortName

public String getShortName()
Description copied from interface: Result
A short name for the result, useful for file names.

Returns:
result name

getLogger

protected Logging getLogger()
Description copied from class: AbstractPrecomputedNeighborhood
The logger to use for error reporting.

Specified by:
getLogger in class AbstractPrecomputedNeighborhood
Returns:
Logger

Release 0.4.0 (2011-09-20_1324)