O
- Object typeD
- Distance typepublic class MkMaxTreeFactory<O,D extends NumberDistance<D,?>> extends AbstractMkTreeUnifiedFactory<O,D,MkMaxTreeNode<O,D>,MkMaxEntry,MkMaxTreeIndex<O,D>,MkTreeSettings<O,D,MkMaxTreeNode<O,D>,MkMaxEntry>>
Modifier and Type | Class and Description |
---|---|
static class |
MkMaxTreeFactory.Parameterizer<O,D extends NumberDistance<D,?>>
Parameterization class.
|
settings
Constructor and Description |
---|
MkMaxTreeFactory(PageFileFactory<?> pageFileFactory,
MkTreeSettings<O,D,MkMaxTreeNode<O,D>,MkMaxEntry> settings)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Class<MkMaxTreeNode<O,D>> |
getNodeClass() |
MkMaxTreeIndex<O,D> |
instantiate(Relation<O> relation)
Sets the database in the distance function of this index (if existing).
|
getInputTypeRestriction
makePageFile
public MkMaxTreeFactory(PageFileFactory<?> pageFileFactory, MkTreeSettings<O,D,MkMaxTreeNode<O,D>,MkMaxEntry> settings)
pageFileFactory
- Data storagesettings
- Tree settingspublic MkMaxTreeIndex<O,D> instantiate(Relation<O> relation)
IndexFactory
relation
- the relation to indexprotected Class<MkMaxTreeNode<O,D>> getNodeClass()