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

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

public static class LinearWeightedExtendedNeighborhood.Factory<O>
extends Object
implements WeightedNeighborSetPredicate.Factory<O>

Factory class.


Nested Class Summary
static class LinearWeightedExtendedNeighborhood.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
LinearWeightedExtendedNeighborhood.Factory(NeighborSetPredicate.Factory<O> inner, int steps)
          Constructor.
 
Method Summary
 TypeInformation getInputTypeRestriction()
          Get the input type information
 LinearWeightedExtendedNeighborhood 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

LinearWeightedExtendedNeighborhood.Factory

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

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

instantiate

public LinearWeightedExtendedNeighborhood instantiate(Relation<? extends O> database)
Description copied from interface: WeightedNeighborSetPredicate.Factory
Instantiation method.

Specified by:
instantiate in interface WeightedNeighborSetPredicate.Factory<O>
Parameters:
database - Relation to instantiate for.
Returns:
instance

getInputTypeRestriction

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

Specified by:
getInputTypeRestriction in interface WeightedNeighborSetPredicate.Factory<O>
Returns:
input type

Release 0.4.0 (2011-09-20_1324)