de.lmu.ifi.dbs.elki.algorithm.outlier.spatial.neighborhood.weighted
Class UnweightedNeighborhoodAdapter.Factory<O>
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
inner
NeighborSetPredicate.Factory<O> inner
- The inner predicate factory
UnweightedNeighborhoodAdapter.Factory
public UnweightedNeighborhoodAdapter.Factory(NeighborSetPredicate.Factory<O> inner)
- Constructor.
- Parameters:
inner
- Actual (unweighted) predicate
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