Class MkAppTreeFactory<O>
- java.lang.Object
-
- elki.index.PagedIndexFactory<O>
-
- elki.index.tree.metrical.mtreevariants.AbstractMTreeFactory<O,MkAppTreeNode<O>,MkAppEntry,MkAppTreeSettings<O>>
-
- elki.index.tree.metrical.mtreevariants.mktrees.mkapp.MkAppTreeFactory<O>
-
- Type Parameters:
O
- Object type
- All Implemented Interfaces:
IndexFactory<O>
public class MkAppTreeFactory<O> extends AbstractMTreeFactory<O,MkAppTreeNode<O>,MkAppEntry,MkAppTreeSettings<O>>
Factory for a MkApp-Tree- Since:
- 0.4.0
- Author:
- Erich Schubert
-
-
Field Summary
-
Fields inherited from class elki.index.tree.metrical.mtreevariants.AbstractMTreeFactory
settings
-
-
Constructor Summary
Constructors Constructor Description MkAppTreeFactory(PageFileFactory<?> pageFileFactory, MkAppTreeSettings<O> settings)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Class<MkAppTreeNode<O>>
getNodeClass()
MkAppTreeIndex<O>
instantiate(Relation<O> relation)
Sets the database in the distance function of this index (if existing).-
Methods inherited from class elki.index.tree.metrical.mtreevariants.AbstractMTreeFactory
getInputTypeRestriction
-
Methods inherited from class elki.index.PagedIndexFactory
makePageFile
-
-
-
-
Constructor Detail
-
MkAppTreeFactory
public MkAppTreeFactory(PageFileFactory<?> pageFileFactory, MkAppTreeSettings<O> settings)
Constructor.- Parameters:
pageFileFactory
- Data storagesettings
- Tree settings
-
-
Method Detail
-
instantiate
public MkAppTreeIndex<O> instantiate(Relation<O> relation)
Description copied from interface:IndexFactory
Sets the database in the distance function of this index (if existing).- Parameters:
relation
- the relation to index
-
getNodeClass
protected java.lang.Class<MkAppTreeNode<O>> getNodeClass()
-
-