|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jgrapht.util.FibonacciHeapNode<T>
public class FibonacciHeapNode<T>
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).
Constructor Summary | |
---|---|
FibonacciHeapNode(T data,
double key)
Default constructor. |
Method Summary | |
---|---|
T |
getData()
Obtain the data for this node. |
double |
getKey()
Obtain the key for 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 FibonacciHeapNode(T data, double key)
data
- data for this nodekey
- initial key for nodeMethod Detail |
---|
public final double getKey()
public final T getData()
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 |