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

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.algorithm.outlier.spatial.neighborhood.weighted.UnweightedNeighborhoodAdapter.Factory<O>
Type Parameters:
O - Input object type
All Implemented Interfaces:
WeightedNeighborSetPredicate.Factory<O>, InspectionUtilFrequentlyScanned, Parameterizable
Enclosing class:
UnweightedNeighborhoodAdapter

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

Factory class


Nested Class Summary
static class UnweightedNeighborhoodAdapter.Factory.Parameterizer<O>
          Parameterization class.
 
Field Summary
(package private)  NeighborSetPredicate.Factory<O> inner
          The inner predicate factory
 
Constructor Summary
UnweightedNeighborhoodAdapter.Factory(NeighborSetPredicate.Factory<O> inner)
          Constructor.
 
Method Summary
 TypeInformation getInputTypeRestriction()
          Get the input type information
 UnweightedNeighborhoodAdapter instantiate(Relation<? extends O> relation)
          Instantiation method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

inner

NeighborSetPredicate.Factory<O> inner
The inner predicate factory

Constructor Detail

UnweightedNeighborhoodAdapter.Factory

public UnweightedNeighborhoodAdapter.Factory(NeighborSetPredicate.Factory<O> inner)
Constructor.

Parameters:
inner - Actual (unweighted) predicate
Method Detail

instantiate

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

Specified by:
instantiate in interface WeightedNeighborSetPredicate.Factory<O>
Parameters:
relation - 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)