Class MTreeFactory<O>
- java.lang.Object
-
- elki.index.PagedIndexFactory<O>
-
- elki.index.tree.metrical.mtreevariants.AbstractMTreeFactory<O,MTreeNode<O>,MTreeEntry,MTreeSettings<O,MTreeNode<O>,MTreeEntry>>
-
- elki.index.tree.metrical.mtreevariants.mtree.MTreeFactory<O>
-
- Type Parameters:
O
- Object type
- All Implemented Interfaces:
IndexFactory<O>
@Alias({"mtree","m"}) public class MTreeFactory<O> extends AbstractMTreeFactory<O,MTreeNode<O>,MTreeEntry,MTreeSettings<O,MTreeNode<O>,MTreeEntry>>
Factory for a M-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 MTreeFactory(PageFileFactory<?> pageFileFactory, MTreeSettings<O,MTreeNode<O>,MTreeEntry> settings)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Class<MTreeNode<O>>
getNodeClass()
MTreeIndex<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
-
MTreeFactory
public MTreeFactory(PageFileFactory<?> pageFileFactory, MTreeSettings<O,MTreeNode<O>,MTreeEntry> settings)
Constructor.- Parameters:
pageFileFactory
- Data storagesettings
- Tree settings
-
-
Method Detail
-
instantiate
public MTreeIndex<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
-
-