Class MkCopTreeFactory<O>
- java.lang.Object
-
- elki.index.PagedIndexFactory<O>
-
- elki.index.tree.metrical.mtreevariants.AbstractMTreeFactory<O,MkCoPTreeNode<O>,MkCoPEntry,MkTreeSettings<O,MkCoPTreeNode<O>,MkCoPEntry>>
-
- elki.index.tree.metrical.mtreevariants.mktrees.mkcop.MkCopTreeFactory<O>
-
- Type Parameters:
O
- Object type
- All Implemented Interfaces:
IndexFactory<O>
public class MkCopTreeFactory<O> extends AbstractMTreeFactory<O,MkCoPTreeNode<O>,MkCoPEntry,MkTreeSettings<O,MkCoPTreeNode<O>,MkCoPEntry>>
Factory for a MkCoPTree-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 MkCopTreeFactory(PageFileFactory<?> pageFileFactory, MkTreeSettings<O,MkCoPTreeNode<O>,MkCoPEntry> settings)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Class<MkCoPTreeNode<O>>
getNodeClass()
MkCoPTreeIndex<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
-
MkCopTreeFactory
public MkCopTreeFactory(PageFileFactory<?> pageFileFactory, MkTreeSettings<O,MkCoPTreeNode<O>,MkCoPEntry> settings)
Constructor.- Parameters:
pageFileFactory
- Data storagesettings
- Tree settings
-
-
Method Detail
-
instantiate
public MkCoPTreeIndex<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<MkCoPTreeNode<O>> getNodeClass()
-
-