|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.algorithm.outlier.spatial.neighborhood.PrecomputedKNearestNeighborNeighborhood.Factory<O,D>
O
- Object typeD
- Distance typepublic static class PrecomputedKNearestNeighborNeighborhood.Factory<O,D extends Distance<D>>
Factory class to instantiate for a particular relation.
Nested Class Summary | |
---|---|
static class |
PrecomputedKNearestNeighborNeighborhood.Factory.Parameterizer<O,D extends Distance<D>>
Parameterization class |
Field Summary | |
---|---|
private DistanceFunction<? super O,D> |
distFunc
distance function to use |
private int |
k
parameter k |
Constructor Summary | |
---|---|
PrecomputedKNearestNeighborNeighborhood.Factory(int k,
DistanceFunction<? super O,D> distFunc)
Factory Constructor |
Method Summary | |
---|---|
TypeInformation |
getInputTypeRestriction()
Get the input type information |
NeighborSetPredicate |
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 |
---|
private int k
private DistanceFunction<? super O,D extends Distance<D>> distFunc
Constructor Detail |
---|
public PrecomputedKNearestNeighborNeighborhood.Factory(int k, DistanceFunction<? super O,D> distFunc)
Method Detail |
---|
public NeighborSetPredicate instantiate(Relation<? extends O> relation)
NeighborSetPredicate.Factory
instantiate
in interface NeighborSetPredicate.Factory<O>
relation
- Relation to instantiate for.
public TypeInformation getInputTypeRestriction()
NeighborSetPredicate.Factory
getInputTypeRestriction
in interface NeighborSetPredicate.Factory<O>
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |