|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmtree.Node
public abstract class Node
Constructor Summary | |
---|---|
Node(int level,
NodeEntry parentNodeEntry)
Constructors |
Method Summary | |
---|---|
protected abstract boolean |
adjustParentHR()
Adjusts the distances of HR array of the parent node. |
protected abstract boolean |
adjustParentRadius()
Adjusts the radius of the parent node. |
void |
createRootNode()
Creates a root from this node. |
int |
getLevel()
Returns the level of this node. |
abstract int |
getObjectCount()
Returns the number of stored objects in this node. |
abstract messif.objects.util.AbstractObjectIterator<messif.objects.LocalAbstractObject> |
getObjects()
Returns an iterator of all objects stored in this node. |
InternalNode |
getParentNode()
Returns the parent node of this node. |
NodeEntry |
getParentNodeEntry()
Returns the parent node entry pointing to this node. |
float |
getParentRadius()
Returns the covering radius of the parent node. |
java.util.List<messif.objects.LocalAbstractObject> |
getSortedObjectList()
Returns a sorted list of all objects stored in this node. |
abstract boolean |
isCapacityExceeded()
Returns false if the capacity of this node is not exceeded. |
boolean |
isLastInternalNode()
Returns true if descendants of this node are leaves. |
boolean |
isLeaf()
Returns true if this node is a leaf. |
boolean |
updateDistances()
Adjusts the radius r and the distances of HR array of the parent node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Node(int level, NodeEntry parentNodeEntry)
Method Detail |
---|
public abstract boolean isCapacityExceeded()
public abstract int getObjectCount()
public abstract messif.objects.util.AbstractObjectIterator<messif.objects.LocalAbstractObject> getObjects()
protected abstract boolean adjustParentRadius()
protected abstract boolean adjustParentHR()
public int getLevel()
public boolean isLastInternalNode()
public boolean isLeaf()
public InternalNode getParentNode()
public NodeEntry getParentNodeEntry()
public void createRootNode()
public float getParentRadius()
public boolean updateDistances()
public java.util.List<messif.objects.LocalAbstractObject> getSortedObjectList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |