|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.index.tree.IndexTree<N,E>
de.lmu.ifi.dbs.elki.index.tree.spatial.SpatialIndexTree<N,E>
de.lmu.ifi.dbs.elki.index.tree.spatial.rstarvariants.AbstractRStarTree<N,E>
de.lmu.ifi.dbs.elki.index.tree.spatial.rstarvariants.NonFlatRStarTree<DeLiCluNode,DeLiCluEntry>
de.lmu.ifi.dbs.elki.index.tree.spatial.rstarvariants.deliclu.DeLiCluTree
de.lmu.ifi.dbs.elki.index.tree.spatial.rstarvariants.deliclu.DeLiCluTreeIndex<O>
O - Object typepublic class DeLiCluTreeIndex<O extends NumberVector<?,?>>

The common use of the DeLiClu tree: indexing number vectors.
| Field Summary | |
|---|---|
private static Logging |
logger
The appropriate logger for this index. |
private Relation<O> |
relation
The relation we index |
| Fields inherited from class de.lmu.ifi.dbs.elki.index.tree.spatial.rstarvariants.AbstractRStarTree |
|---|
bulkSplitter, distanceCalcs, extraIntegrityChecks, height, insertionStrategy, nodeSplitter, reinsertions |
| Fields inherited from class de.lmu.ifi.dbs.elki.index.tree.IndexTree |
|---|
dirCapacity, dirMinimum, initialized, leafCapacity, leafMinimum |
| Constructor Summary | |
|---|---|
DeLiCluTreeIndex(Relation<O> relation,
PageFile<DeLiCluNode> pagefile,
BulkSplit bulkSplitter,
InsertionStrategy insertionStrategy)
Constructor. |
|
| Method Summary | ||
|---|---|---|
protected DeLiCluLeafEntry |
createNewLeafEntry(DBID id)
Creates a new leaf entry representing the specified data object. |
|
boolean |
delete(DBID id)
Deletes the specified object from this index. |
|
void |
deleteAll(DBIDs ids)
Deletes the specified objects from this index. |
|
|
getKNNQuery(DistanceQuery<O,D> distanceQuery,
Object... hints)
Get a KNN query object for the given distance query and k. |
|
protected Logging |
getLogger()
Get the (STATIC) logger for this class. |
|
String |
getLongName()
A "pretty" name for the result, for use in titles, captions and menus. |
|
|
getRangeQuery(DistanceQuery<O,D> distanceQuery,
Object... hints)
Get a range query object for the given distance query and k. |
|
String |
getShortName()
A short name for the result, useful for file names. |
|
void |
insert(DBID id)
Inserts the specified real vector object into this index. |
|
void |
insertAll(DBIDs ids)
Inserts the specified objects into this index. |
|
List<TreeIndexPathComponent<DeLiCluEntry>> |
setHandled(DBID id,
O obj)
Marks the specified object as handled and returns the path of node ids from the root to the objects's parent. |
|
| Methods inherited from class de.lmu.ifi.dbs.elki.index.tree.spatial.rstarvariants.deliclu.DeLiCluTree |
|---|
createNewDirectoryEntry, createNewDirectoryNode, createNewLeafNode, createRootEntry, getExpanded, getExpanded, numNodes, setExpanded |
| Methods inherited from class de.lmu.ifi.dbs.elki.index.tree.spatial.rstarvariants.NonFlatRStarTree |
|---|
bulkLoad, computeHeight, createEmptyRoot, hasOverflow, hasUnderflow |
| Methods inherited from class de.lmu.ifi.dbs.elki.index.tree.spatial.rstarvariants.AbstractRStarTree |
|---|
adjustTree, canBulkLoad, choosePath, clearReinsertions, containedTest, createBulkLeafNodes, createNewRoot, deletePath, doExtraIntegrityChecks, findPathToObject, getHeight, getLeaves, initializeCapacities, initializeFromFile, insertDirectoryEntry, insertLeaf, insertLeafEntry, reInsert, setHeight, toString |
| Methods inherited from class de.lmu.ifi.dbs.elki.index.tree.IndexTree |
|---|
createHeader, deleteNode, getFile, getNode, getNode, getPageFileStatistics, getPageID, getPageSize, getRoot, getRootEntry, getRootID, getRootPath, initialize, initialize, isRoot, postDelete, preInsert, writeNode |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface de.lmu.ifi.dbs.elki.index.Index |
|---|
getPageFileStatistics |
| Field Detail |
|---|
private Relation<O extends NumberVector<?,?>> relation
private static final Logging logger
| Constructor Detail |
|---|
public DeLiCluTreeIndex(Relation<O> relation,
PageFile<DeLiCluNode> pagefile,
BulkSplit bulkSplitter,
InsertionStrategy insertionStrategy)
relation - Relation to indexpagefile - Page filebulkSplitter - bulk load strategyinsertionStrategy - the strategy to find the insertion child| Method Detail |
|---|
protected DeLiCluLeafEntry createNewLeafEntry(DBID id)
id - Object id
public List<TreeIndexPathComponent<DeLiCluEntry>> setHandled(DBID id,
O obj)
id - the objects id to be marked as handledobj - the object to be marked as handled
public final void insert(DBID id)
insert in interface Indexid - the object id that was insertedpublic final void insertAll(DBIDs ids)
insertAll in interface Indexids - the objects to be insertedpublic final boolean delete(DBID id)
delete in interface Indexid - Object to remove
public void deleteAll(DBIDs ids)
Index
deleteAll in interface Indexids - Objects to remove
public <D extends Distance<D>> RangeQuery<O,D> getRangeQuery(DistanceQuery<O,D> distanceQuery,
Object... hints)
RangeIndex
getRangeQuery in interface RangeIndex<O extends NumberVector<?,?>>D - Distance typedistanceQuery - Distance queryhints - Hints for the optimizer
null
public <D extends Distance<D>> KNNQuery<O,D> getKNNQuery(DistanceQuery<O,D> distanceQuery,
Object... hints)
KNNIndex
getKNNQuery in interface KNNIndex<O extends NumberVector<?,?>>D - Distance typedistanceQuery - Distance queryhints - Hints for the optimizer
nullpublic String getLongName()
Result
getLongName in interface Resultpublic String getShortName()
Result
getShortName in interface Resultprotected Logging getLogger()
IndexTree
getLogger in class DeLiCluTree
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||