public abstract class DeLiCluTree extends NonFlatRStarTree<DeLiCluNode,DeLiCluEntry,AbstractRTreeSettings>
AbstractRStarTree.Statistics
Modifier and Type | Field and Description |
---|---|
private TIntObjectHashMap<TIntHashSet> |
expanded
Holds the ids of the expanded nodes.
|
private static Logging |
LOG
The logger for this class.
|
EXTRA_INTEGRITY_CHECKS, height, settings, statistics
dirCapacity, dirMinimum, initialized, leafCapacity, leafMinimum
Constructor and Description |
---|
DeLiCluTree(PageFile<DeLiCluNode> pagefile,
AbstractRTreeSettings settings)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected DeLiCluEntry |
createNewDirectoryEntry(DeLiCluNode node)
Creates a new directory entry representing the specified node.
|
protected DeLiCluNode |
createNewDirectoryNode()
Creates a new directory node with the specified capacity.
|
protected DeLiCluNode |
createNewLeafNode()
Creates a new leaf node with the specified capacity.
|
protected DeLiCluEntry |
createRootEntry()
Creates an entry representing the root node.
|
TIntSet |
getExpanded(DeLiCluNode entry)
Returns the nodes which are already expanded with the specified node.
|
TIntSet |
getExpanded(SpatialEntry entry)
Returns the nodes which are already expanded with the specified node.
|
protected Logging |
getLogger()
Get the (STATIC) logger for this class.
|
int |
numNodes()
Determines and returns the number of nodes in this index.
|
void |
setExpanded(SpatialEntry entry1,
SpatialEntry entry2)
Marks the nodes with the specified ids as expanded.
|
bulkLoad, computeHeight, createEmptyRoot, hasOverflow, hasUnderflow
adjustTree, canBulkLoad, choosePath, containedTest, createBulkLeafNodes, createNewRoot, deletePath, doExtraIntegrityChecks, findPathToObject, getHeight, getLeaves, initializeCapacities, initializeFromFile, insertDirectoryEntry, insertLeaf, insertLeafEntry, logStatistics, reInsert, setHeight, toString
createHeader, deleteNode, getFile, getNode, getNode, getPageID, getPageSize, getRoot, getRootEntry, getRootID, getRootPath, initialize, initialize, isRoot, postDelete, preInsert, writeNode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLongName, getShortName
private static final Logging LOG
private TIntObjectHashMap<TIntHashSet> expanded
public DeLiCluTree(PageFile<DeLiCluNode> pagefile, AbstractRTreeSettings settings)
pagefile
- Page filesettings
- Settingspublic void setExpanded(SpatialEntry entry1, SpatialEntry entry2)
entry1
- the first nodeentry2
- the second nodepublic TIntSet getExpanded(SpatialEntry entry)
entry
- the id of the node for which the expansions should be returnedpublic TIntSet getExpanded(DeLiCluNode entry)
entry
- the id of the node for which the expansions should be returnedpublic int numNodes()
protected DeLiCluNode createNewLeafNode()
createNewLeafNode
in class IndexTree<DeLiCluNode,DeLiCluEntry>
protected DeLiCluNode createNewDirectoryNode()
createNewDirectoryNode
in class IndexTree<DeLiCluNode,DeLiCluEntry>
protected DeLiCluEntry createNewDirectoryEntry(DeLiCluNode node)
createNewDirectoryEntry
in class AbstractRStarTree<DeLiCluNode,DeLiCluEntry,AbstractRTreeSettings>
node
- the node to be represented by the new entryprotected DeLiCluEntry createRootEntry()
createRootEntry
in class IndexTree<DeLiCluNode,DeLiCluEntry>
protected Logging getLogger()
IndexTree
getLogger
in class IndexTree<DeLiCluNode,DeLiCluEntry>
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.