Package elki.index.tree.spatial.kd
Class MinimalisticMemoryKDTree.Factory<O extends NumberVector>
- java.lang.Object
-
- elki.index.tree.spatial.kd.MinimalisticMemoryKDTree.Factory<O>
-
- Type Parameters:
O- Vector type
- All Implemented Interfaces:
IndexFactory<O>
- Enclosing class:
- MinimalisticMemoryKDTree<O extends NumberVector>
@Alias("minikd") public static class MinimalisticMemoryKDTree.Factory<O extends NumberVector> extends java.lang.Object implements IndexFactory<O>
Factory class- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMinimalisticMemoryKDTree.Factory.Par<O extends NumberVector>Parameterization class.
-
Field Summary
Fields Modifier and Type Field Description (package private) intleafsizeMaximum size of leaf nodes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeInformationgetInputTypeRestriction()Get the input type restriction used for negotiating the data query.MinimalisticMemoryKDTree<O>instantiate(Relation<O> relation)Sets the database in the distance function of this index (if existing).
-
-
-
Method Detail
-
instantiate
public MinimalisticMemoryKDTree<O> instantiate(Relation<O> relation)
Description copied from interface:IndexFactorySets the database in the distance function of this index (if existing).- Specified by:
instantiatein interfaceIndexFactory<O extends NumberVector>- Parameters:
relation- the relation to index
-
getInputTypeRestriction
public TypeInformation getInputTypeRestriction()
Description copied from interface:IndexFactoryGet the input type restriction used for negotiating the data query.- Specified by:
getInputTypeRestrictionin interfaceIndexFactory<O extends NumberVector>- Returns:
- Type restriction
-
-