
public class DeLiCluTree extends NonFlatRStarTree<DeLiCluNode,DeLiCluEntry>
| Modifier and Type | Field and Description |
|---|---|
private HashMap<Integer,HashSet<Integer>> |
expanded
Holds the ids of the expanded nodes.
|
private static Logging |
logger
The logger for this class.
|
bulkSplitter, distanceCalcs, extraIntegrityChecks, height, insertionStrategy, nodeSplitter, reinsertionsdirCapacity, dirMinimum, initialized, leafCapacity, leafMinimum| Constructor and Description |
|---|
DeLiCluTree(PageFile<DeLiCluNode> pagefile,
BulkSplit bulkSplitter,
InsertionStrategy insertionStrategy)
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.
|
Set<Integer> |
getExpanded(DeLiCluNode entry)
Returns the nodes which are already expanded with the specified node.
|
Set<Integer> |
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, hasUnderflowadjustTree, canBulkLoad, choosePath, clearReinsertions, containedTest, createBulkLeafNodes, createNewRoot, deletePath, doExtraIntegrityChecks, findPathToObject, getHeight, getLeaves, initializeCapacities, initializeFromFile, insertDirectoryEntry, insertLeaf, insertLeafEntry, reInsert, setHeight, toStringcreateHeader, deleteNode, getFile, getNode, getNode, getPageFileStatistics, getPageID, getPageSize, getRoot, getRootEntry, getRootID, getRootPath, initialize, initialize, isRoot, postDelete, preInsert, writeNodeprivate static final Logging logger
public DeLiCluTree(PageFile<DeLiCluNode> pagefile, BulkSplit bulkSplitter, InsertionStrategy insertionStrategy)
pagefile - Page filebulkSplitter - bulk load strategyinsertionStrategy - the strategy to find the insertion childpublic void setExpanded(SpatialEntry entry1, SpatialEntry entry2)
entry1 - the first nodeentry2 - the second nodepublic Set<Integer> getExpanded(SpatialEntry entry)
entry - the id of the node for which the expansions should be returnedpublic Set<Integer> 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>node - the node to be represented by the new entryprotected DeLiCluEntry createRootEntry()
createRootEntry in class IndexTree<DeLiCluNode,DeLiCluEntry>protected Logging getLogger()
IndexTreegetLogger in class IndexTree<DeLiCluNode,DeLiCluEntry>