|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface describing a spatial search tree node
| Method Summary | |
SpatialSearchTreeNode |
getChildNode(int index)
Returns the child node of a non-leaf node (with locking). |
SpatialSearchTreeEntry |
getEntry(int index)
Returns the entry in a node. |
MBR |
getEntryMBR(int index)
Returns the minimum bounding box of an entry in a node. |
int |
getHeight()
Returns the height of the block. |
int |
getMaxNumberOfEntries()
Returns the maximum number of entries in a non-leaf node. |
int |
getNumberOfEntries()
Returns the number of entries in the node. |
SpatialSearchTreeObject |
getObject(int index)
Returns the object of a leaf node. |
SpatialSearchTree |
getTree()
Returns the tree the node belongs to. |
boolean |
isLeaf()
Returns whether the node is a leaf or not. |
boolean |
isRoot()
Returns whether the node is a root node or not. |
void |
removeObject(int index)
Removes the object with a given index. |
void |
resetLock()
Resets the lock. |
void |
setEntry(SpatialSearchTreeEntry entry,
int i)
Sets the i-th entry of the node |
void |
setLock()
Sets the lock. |
void |
updateObject(int index)
Simulates an update of the object with a given index. |
| Methods inherited from interface spatial.SpatialSearchTreeEntry |
getMBR, getNumOfDimensions |
| Method Detail |
public SpatialSearchTreeNode getChildNode(int index)
index - index of the child
public SpatialSearchTreeEntry getEntry(int index)
index - index of the entry
public MBR getEntryMBR(int index)
index - index of the entry
public int getHeight()
public int getMaxNumberOfEntries()
public int getNumberOfEntries()
public SpatialSearchTreeObject getObject(int index)
index - index of the object
public SpatialSearchTree getTree()
public boolean isLeaf()
public boolean isRoot()
public void removeObject(int index)
index - index of the objectpublic void resetLock()
public void setLock()
public void setEntry(SpatialSearchTreeEntry entry,
int i)
entry - the new entryi - the indexpublic void updateObject(int index)
index - index of the object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||