Package org.simplegraph.util
Class FibonacciHeap.Entry<T>
java.lang.Object
org.simplegraph.util.FibonacciHeap.Entry<T>
- Enclosing class:
- FibonacciHeap<T>
-
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the priority of this element.getValue()Returns the element represented by this heap entry.voidSets the element associated with this heap entry.
-
Method Details
-
getValue
Returns the element represented by this heap entry.- Returns:
- The element represented by this heap entry.
-
setValue
Sets the element associated with this heap entry.- Parameters:
value- The element to associate with this heap entry.
-
getPriority
public double getPriority()Returns the priority of this element.- Returns:
- The priority of this element.
-