de.lmu.ifi.dbs.elki.index.tree.metrical.mtreevariants.mktrees
Class AbstractMkTreeUnifiedFactory<O,D extends Distance<D>,N extends AbstractMTreeNode<O,D,N,E>,E extends MTreeEntry<D>,I extends AbstractMkTree<O,D,N,E> & Index>
java.lang.Object
de.lmu.ifi.dbs.elki.index.tree.TreeIndexFactory<O,I>
de.lmu.ifi.dbs.elki.index.tree.metrical.mtreevariants.AbstractMTreeFactory<O,D,N,E,I>
de.lmu.ifi.dbs.elki.index.tree.metrical.mtreevariants.mktrees.AbstractMkTreeUnifiedFactory<O,D,N,E,I>
- Type Parameters:
O
- Object typeD
- Distance typeN
- Node typeE
- Entry typeI
- Index type
- All Implemented Interfaces:
- IndexFactory<O,I>, InspectionUtilFrequentlyScanned, Parameterizable
- Direct Known Subclasses:
- MkMaxTreeFactory, MkTabTreeFactory
public abstract class AbstractMkTreeUnifiedFactory<O,D extends Distance<D>,N extends AbstractMTreeNode<O,D,N,E>,E extends MTreeEntry<D>,I extends AbstractMkTree<O,D,N,E> & Index>
- extends AbstractMTreeFactory<O,D,N,E,I>
Abstract factory for various Mk-Trees
Field Summary |
protected int |
k_max
Holds the value of parameter K_MAX_ID . |
static OptionID |
K_MAX_ID
Parameter specifying the maximal number k of reverse k nearest neighbors to
be supported, must be an integer greater than 0. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
K_MAX_ID
public static final OptionID K_MAX_ID
- Parameter specifying the maximal number k of reverse k nearest neighbors to
be supported, must be an integer greater than 0.
Key: -mktree.kmax
k_max
protected int k_max
- Holds the value of parameter
K_MAX_ID
.
AbstractMkTreeUnifiedFactory
public AbstractMkTreeUnifiedFactory(String fileName,
int pageSize,
long cacheSize,
DistanceFunction<O,D> distanceFunction,
int k_max)
- Constructor.
- Parameters:
fileName
- pageSize
- cacheSize
- distanceFunction
- k_max
-