|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmtree.Node
mtree.LeafNode
public class LeafNode
Constructor Summary | |
---|---|
LeafNode(NodeEntry parentNodeEntry,
messif.buckets.LocalBucket bucket)
Constructors |
Method Summary | |
---|---|
protected boolean |
adjustParentHR()
Adjusts the distances of HR array of the parent node. |
protected boolean |
adjustParentHR(messif.objects.LocalAbstractObject o)
Sets the distances of HR array of the parent node according to the object o. |
protected boolean |
adjustParentRadius()
Adjusts the radius of the parent node. |
protected boolean |
adjustParentRadius(float r)
Sets the radius of the parent node. |
int |
deleteObject(messif.objects.LocalAbstractObject o)
Deletes the specified object from the bucket. |
messif.buckets.LocalBucket |
getBucket()
Returns the bucket of this leaf. |
int |
getObjectCount()
Returns the number of stored objects in this node. |
messif.objects.util.AbstractObjectIterator<messif.objects.LocalAbstractObject> |
getObjects()
Returns an iterator of all objects stored in this node. |
boolean |
isCapacityExceeded()
Returns false if the capacity of this node is not exceeded. |
java.lang.String |
toString()
Overrided class Object |
boolean |
updateDistances(float r)
Sets the radius r and adjusts the distances of HR array of the parent node. |
boolean |
updateDistances(float r,
messif.objects.LocalAbstractObject o)
Sets the radius r and adjusts the distances of HR array of the parent node according to the object o. |
Methods inherited from class mtree.Node |
---|
createRootNode, getLevel, getParentNode, getParentNodeEntry, getParentRadius, getSortedObjectList, isLastInternalNode, isLeaf, updateDistances |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LeafNode(NodeEntry parentNodeEntry, messif.buckets.LocalBucket bucket)
Method Detail |
---|
public messif.buckets.LocalBucket getBucket()
public int deleteObject(messif.objects.LocalAbstractObject o)
protected boolean adjustParentRadius(float r)
protected boolean adjustParentHR(messif.objects.LocalAbstractObject o)
public boolean updateDistances(float r)
public boolean updateDistances(float r, messif.objects.LocalAbstractObject o)
public boolean isCapacityExceeded()
isCapacityExceeded
in class Node
public int getObjectCount()
getObjectCount
in class Node
public messif.objects.util.AbstractObjectIterator<messif.objects.LocalAbstractObject> getObjects()
getObjects
in class Node
protected boolean adjustParentRadius()
adjustParentRadius
in class Node
protected boolean adjustParentHR()
adjustParentHR
in class Node
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |