public abstract class DeLiCluTree extends NonFlatRStarTree<DeLiCluNode,DeLiCluEntry,RTreeSettings>
AbstractRStarTree.Statistics
Modifier and Type | Field and Description |
---|---|
private it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap<it.unimi.dsi.fastutil.ints.IntSet> |
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,
RTreeSettings 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.
|
it.unimi.dsi.fastutil.ints.IntSet |
getExpanded(DeLiCluNode entry)
Returns the nodes which are already expanded with the specified node.
|
it.unimi.dsi.fastutil.ints.IntSet |
getExpanded(SpatialEntry entry)
Returns the nodes which are already expanded with the specified node.
|
protected Logging |
getLogger()
Get the (STATIC) logger for this class.
|
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, getDirMinimum, getFile, getLeafMinimum, 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 it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap<it.unimi.dsi.fastutil.ints.IntSet> expanded
public DeLiCluTree(PageFile<DeLiCluNode> pagefile, RTreeSettings settings)
pagefile
- Page filesettings
- Settingspublic void setExpanded(SpatialEntry entry1, SpatialEntry entry2)
entry1
- the first nodeentry2
- the second nodepublic it.unimi.dsi.fastutil.ints.IntSet getExpanded(SpatialEntry entry)
entry
- the id of the node for which the expansions should be returnedpublic it.unimi.dsi.fastutil.ints.IntSet getExpanded(DeLiCluNode entry)
entry
- the id of the node for which the expansions should be returnedprotected 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,RTreeSettings>
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 © 2019 ELKI Development Team. License information.