Class UnweightedNeighborhoodAdapter.Factory<O>
- java.lang.Object
-
- elki.outlier.spatial.neighborhood.weighted.UnweightedNeighborhoodAdapter.Factory<O>
-
- Type Parameters:
O
- Input object type
- All Implemented Interfaces:
WeightedNeighborSetPredicate.Factory<O>
- Enclosing class:
- UnweightedNeighborhoodAdapter
public static class UnweightedNeighborhoodAdapter.Factory<O> extends java.lang.Object implements WeightedNeighborSetPredicate.Factory<O>
Factory class- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description (package private) NeighborSetPredicate.Factory<O>
inner
The inner predicate factory
-
Constructor Summary
Constructors Constructor Description Factory(NeighborSetPredicate.Factory<O> inner)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeInformation
getInputTypeRestriction()
Get the input type informationUnweightedNeighborhoodAdapter
instantiate(Database database, Relation<? extends O> relation)
Instantiation method.
-
-
-
Field Detail
-
inner
NeighborSetPredicate.Factory<O> inner
The inner predicate factory
-
-
Constructor Detail
-
Factory
public Factory(NeighborSetPredicate.Factory<O> inner)
Constructor.- Parameters:
inner
- Actual (unweighted) predicate
-
-
Method Detail
-
instantiate
public UnweightedNeighborhoodAdapter instantiate(Database database, Relation<? extends O> relation)
Description copied from interface:WeightedNeighborSetPredicate.Factory
Instantiation method.- Specified by:
instantiate
in interfaceWeightedNeighborSetPredicate.Factory<O>
- Parameters:
database
- Database contextrelation
- 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 interfaceWeightedNeighborSetPredicate.Factory<O>
- Returns:
- input type
-
-