Class PrecomputedKNearestNeighborNeighborhood.Factory<O>
- java.lang.Object
-
- elki.outlier.spatial.neighborhood.PrecomputedKNearestNeighborNeighborhood.Factory<O>
-
- Type Parameters:
O
- Object type
- All Implemented Interfaces:
NeighborSetPredicate.Factory<O>
- Enclosing class:
- PrecomputedKNearestNeighborNeighborhood
public static class PrecomputedKNearestNeighborNeighborhood.Factory<O> extends java.lang.Object implements NeighborSetPredicate.Factory<O>
Factory class to instantiate for a particular relation.- Author:
- Ahmed Hettab
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeInformation
getInputTypeRestriction()
Get the input type informationNeighborSetPredicate
instantiate(Database database, Relation<? extends O> relation)
Instantiation method.
-
-
-
Method Detail
-
instantiate
public NeighborSetPredicate instantiate(Database database, Relation<? extends O> relation)
Description copied from interface:NeighborSetPredicate.Factory
Instantiation method.- Specified by:
instantiate
in interfaceNeighborSetPredicate.Factory<O>
- Parameters:
database
- Databaserelation
- Relation to instantiate for.- Returns:
- instance
-
getInputTypeRestriction
public TypeInformation getInputTypeRestriction()
Description copied from interface:NeighborSetPredicate.Factory
Get the input type information- Specified by:
getInputTypeRestriction
in interfaceNeighborSetPredicate.Factory<O>
- Returns:
- input type
-
-