Package zombie.core.utils
Class FibonacciHeap.Entry<T>
java.lang.Object
zombie.core.utils.FibonacciHeap.Entry<T>
- Enclosing class:
- FibonacciHeap<T>
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Returns the priority of this element.getValue()
Returns the element represented by this heap entry.void
Sets 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.
-