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

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.algorithm.outlier.spatial.neighborhood.AbstractPrecomputedNeighborhood.Factory<Object>
      extended by de.lmu.ifi.dbs.elki.algorithm.outlier.spatial.neighborhood.ExternalNeighborhood.Factory
All Implemented Interfaces:
NeighborSetPredicate.Factory<Object>, InspectionUtilFrequentlyScanned, Parameterizable
Enclosing class:
ExternalNeighborhood

public static class ExternalNeighborhood.Factory
extends AbstractPrecomputedNeighborhood.Factory<Object>

Factory class.


Nested Class Summary
static class ExternalNeighborhood.Factory.Parameterizer
          Parameterization class.
 
Field Summary
private  File file
          The input file.
 
Constructor Summary
ExternalNeighborhood.Factory(File file)
          Constructor.
 
Method Summary
 TypeInformation getInputTypeRestriction()
          Get the input type information
 NeighborSetPredicate instantiate(Relation<?> database)
          Instantiation method.
private  DataStore<DBIDs> loadNeighbors(Relation<?> database)
          Method to load the external neighbors.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

file

private File file
The input file.

Constructor Detail

ExternalNeighborhood.Factory

public ExternalNeighborhood.Factory(File file)
Constructor.

Parameters:
file - File to load
Method Detail

instantiate

public NeighborSetPredicate instantiate(Relation<?> database)
Description copied from interface: NeighborSetPredicate.Factory
Instantiation method.

Parameters:
database - Relation to instantiate for.
Returns:
instance

getInputTypeRestriction

public TypeInformation getInputTypeRestriction()
Description copied from interface: NeighborSetPredicate.Factory
Get the input type information

Returns:
input type

loadNeighbors

private DataStore<DBIDs> loadNeighbors(Relation<?> database)
Method to load the external neighbors.


Release 0.4.0 (2011-09-20_1324)