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
  extended by de.lmu.ifi.dbs.elki.index.tree.TreeIndexFactory<O,I>
      extended by de.lmu.ifi.dbs.elki.index.tree.metrical.mtreevariants.AbstractMTreeFactory<O,D,N,E,I>
          extended by de.lmu.ifi.dbs.elki.index.tree.metrical.mtreevariants.mktrees.AbstractMkTreeUnifiedFactory<O,D,N,E,I>
Type Parameters:
O - Object type
D - Distance type
N - Node type
E - Entry type
I - 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


Nested Class Summary
static class AbstractMkTreeUnifiedFactory.Parameterizer<O,D extends Distance<D>>
          Parameterization class.
 
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.
 
Fields inherited from class de.lmu.ifi.dbs.elki.index.tree.metrical.mtreevariants.AbstractMTreeFactory
DISTANCE_FUNCTION_ID, distanceFunction
 
Fields inherited from class de.lmu.ifi.dbs.elki.index.tree.TreeIndexFactory
CACHE_SIZE_ID, cacheSize, FILE_ID, fileName, PAGE_SIZE_ID, pageSize
 
Constructor Summary
AbstractMkTreeUnifiedFactory(String fileName, int pageSize, long cacheSize, DistanceFunction<O,D> distanceFunction, int k_max)
          Constructor.
 
Method Summary
 
Methods inherited from class de.lmu.ifi.dbs.elki.index.tree.metrical.mtreevariants.AbstractMTreeFactory
getInputTypeRestriction
 
Methods inherited from class de.lmu.ifi.dbs.elki.index.tree.TreeIndexFactory
instantiate, makePageFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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.

Constructor Detail

AbstractMkTreeUnifiedFactory

public AbstractMkTreeUnifiedFactory(String fileName,
                                    int pageSize,
                                    long cacheSize,
                                    DistanceFunction<O,D> distanceFunction,
                                    int k_max)
Constructor.

Parameters:
fileName -
pageSize -
cacheSize -
distanceFunction -
k_max -

Release 0.4.0 (2011-09-20_1324)