de.lmu.ifi.dbs.elki.algorithm.outlier.spatial.neighborhood
Class ExtendedNeighborhood.Factory<O>

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

public static class ExtendedNeighborhood.Factory<O>
extends AbstractPrecomputedNeighborhood.Factory<O>

Factory class.


Nested Class Summary
static class ExtendedNeighborhood.Factory.Parameterizer<O>
          Parameterization class.
 
Field Summary
private  NeighborSetPredicate.Factory<O> inner
          Inner neighbor set predicate
private  int steps
          Number of steps to do
 
Constructor Summary
ExtendedNeighborhood.Factory(NeighborSetPredicate.Factory<O> inner, int steps)
          Constructor.
 
Method Summary
private  DataStore<DBIDs> extendNeighborhood(Relation<? extends O> database)
          Method to load the external neighbors.
 TypeInformation getInputTypeRestriction()
          Get the input type information
 NeighborSetPredicate instantiate(Relation<? extends O> database)
          Instantiation method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

inner

private NeighborSetPredicate.Factory<O> inner
Inner neighbor set predicate


steps

private int steps
Number of steps to do

Constructor Detail

ExtendedNeighborhood.Factory

public ExtendedNeighborhood.Factory(NeighborSetPredicate.Factory<O> inner,
                                    int steps)
Constructor.

Parameters:
inner - Inner neighbor set predicate
steps - Number of steps to do
Method Detail

instantiate

public NeighborSetPredicate instantiate(Relation<? extends O> 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

extendNeighborhood

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


Release 0.4.0 (2011-09-20_1324)