
O - the type of DatabaseObject to be stored in the metrical indexN - the type of MetricalNode used in the metrical indexE - the type of MetricalEntry used in the metrical indexS - the type of Settings used.public abstract class AbstractMkTreeUnified<O,N extends AbstractMTreeNode<O,N,E>,E extends MTreeEntry,S extends MkTreeSettings<O,N,E>> extends AbstractMkTree<O,N,E,S>
AbstractMTree.StatisticsknnqEXTRA_INTEGRITY_CHECKS, settings, statisticsdirCapacity, dirMinimum, initialized, leafCapacity, leafMinimum| Constructor and Description | 
|---|
| AbstractMkTreeUnified(Relation<O> relation,
                     PageFile<N> pagefile,
                     S settings)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected TreeIndexHeader | createHeader()Creates a header for this index structure which is an instance of
  TreeIndexHeader. | 
| int | getKmax()Get the value of k_max. | 
| void | insertAll(List<E> entries)Bulk insert. | 
| protected abstract void | kNNdistanceAdjustment(E entry,
                     Map<DBID,KNNList> knnLists)Performs a distance adjustment in the subtree of the specified root entry. | 
batchNN, distance, reverseKNNQuerycreateEmptyRoot, createNewDirectoryEntry, distance, getDistanceFunction, getHeight, getLeaves, getSortedEntries, insert, logStatistics, toStringcreateNewDirectoryNode, createNewLeafNode, createRootEntry, deleteNode, getFile, getLogger, getNode, getNode, getPageID, getPageSize, getRoot, getRootEntry, getRootID, getRootPath, initialize, initialize, initializeCapacities, initializeFromFile, isRoot, postDelete, preInsert, writeNodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLongName, getShortNameprotected TreeIndexHeader createHeader()
IndexTreeTreeIndexHeader. Subclasses may need to overwrite this method if
 they need a more specialized header.createHeader in class IndexTree<N extends AbstractMTreeNode<O,N,E>,E extends MTreeEntry>MkTreeHeaderpublic void insertAll(List<E> entries)
AbstractMTreeinsertAll in class AbstractMTree<O,N extends AbstractMTreeNode<O,N,E>,E extends MTreeEntry,S extends MkTreeSettings<O,N,E>>entries - Entries to insertprotected abstract void kNNdistanceAdjustment(E entry, Map<DBID,KNNList> knnLists)
entry - the root entry of the current subtreeknnLists - a map of knn lists for each leaf entrypublic int getKmax()
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.