Documentation of 'org.jgrapht.util.FibonacciHeapNode' Java class
FibonacciHeapNode
org.jgrapht.util

Class FibonacciHeapNode<T>

  • Type Parameters:
    T - node data type


    public class FibonacciHeapNode<T>
    extends java.lang.Object
    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

      Constructors 
      Constructor and Description
      FibonacciHeapNode(T data)
      Constructs a new node.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      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

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FibonacciHeapNode

        public FibonacciHeapNode(T data)
        Constructs a new node.
        Parameters:
        data - data for this node
    • Method Detail

      • getKey

        public final double getKey()
        Obtain the key for this node.
        Returns:
        the key
      • getData

        public final T getData()
        Obtain the data for this node.
        Returns:
        the data
      • toString

        public java.lang.String toString()
        Return the string representation of this object.
        Overrides:
        toString in class java.lang.Object
        Returns:
        string representing this object

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.