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

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.ExternalNeighborhood
All Implemented Interfaces:
NeighborSetPredicate, Result

public class ExternalNeighborhood
extends AbstractPrecomputedNeighborhood

A precomputed neighborhood, loaded from an external file.


Nested Class Summary
static class ExternalNeighborhood.Factory
          Factory class.
 
Field Summary
(package private) static Logging logger
          Logger
static OptionID NEIGHBORHOOD_FILE_ID
          Parameter to specify the neighborhood file
 
Fields inherited from class de.lmu.ifi.dbs.elki.algorithm.outlier.spatial.neighborhood.AbstractPrecomputedNeighborhood
store
 
Constructor Summary
ExternalNeighborhood(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

static final Logging logger
Logger


NEIGHBORHOOD_FILE_ID

public static final OptionID NEIGHBORHOOD_FILE_ID
Parameter to specify the neighborhood file

Constructor Detail

ExternalNeighborhood

public ExternalNeighborhood(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)