O
- Vector type@Alias(value={"minikd","kd"}) public static class MinimalisticMemoryKDTree.Factory<O extends NumberVector<?>> extends Object implements IndexFactory<O,MinimalisticMemoryKDTree<O>>
Constructor and Description |
---|
MinimalisticMemoryKDTree.Factory()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
TypeInformation |
getInputTypeRestriction()
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).
|
public MinimalisticMemoryKDTree.Factory()
public MinimalisticMemoryKDTree<O> instantiate(Relation<O> relation)
IndexFactory
instantiate
in interface IndexFactory<O extends NumberVector<?>,MinimalisticMemoryKDTree<O extends NumberVector<?>>>
relation
- the relation to indexpublic TypeInformation getInputTypeRestriction()
IndexFactory
getInputTypeRestriction
in interface IndexFactory<O extends NumberVector<?>,MinimalisticMemoryKDTree<O extends NumberVector<?>>>