|
MATES 3.0-rc2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mates.util.FibonacciHeap.Node
Implements a node of the Fibonacci heap. It holds the information necessary for maintaining the structure of the heap. It also holds the reference to the key value (which is used to determine the heap structure). Additional Node data should be stored in a subclass.
Constructor Summary | |
FibonacciHeap.Node(java.lang.Object object,
double key)
Default constructor. |
Method Summary | |
double |
getKey()
Obtain the key for this node. |
java.lang.Object |
getObject()
Obtain the object associated with this node. |
java.lang.String |
toString()
Return the string representation of this object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FibonacciHeap.Node(java.lang.Object object, double key)
key
- initial key for nodeMethod Detail |
public final double getKey()
public java.lang.Object getObject()
null
)public java.lang.String toString()
|
MATES 3.0-rc2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |