Package squidpony.squidmath
Class BinaryHeap.Node
java.lang.Object
squidpony.squidmath.BinaryHeap.Node
- Direct Known Subclasses:
Node
- Enclosing class:
- BinaryHeap<T extends BinaryHeap.Node>
public static class BinaryHeap.Node extends Object
A binary heap node.
- Author:
- Nathan Sweet
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Node(double value)
-
Method Summary
-
Field Details
-
Constructor Details
-
Node
- Parameters:
value
- The initial value for the node. To change the value, useBinaryHeap.add(Node, double)
if the node is not in the heap, orBinaryHeap.setValue(Node, double)
if the node is in the heap.
-
-
Method Details