All Packages Class Hierarchy This Package Previous Next Index
Class jdsltools.visualization.Wrappers.VBTHeap
java.lang.Object
|
+----jdsl.core.ref.BTHeap
|
+----jdsltools.visualization.Wrappers.VBTHeap
- public class VBTHeap
- extends BTHeap
- implements BinaryTreeBased
This is a visualizable extension of jdsl.core.ref.BTHeap.
- Author:
- Ryan Shaun Baker
-
VBTHeap(Comparator)
-
-
downheap(Position)
- Performs the downheap operation starting at
p
.
-
getBinaryTree()
- Returns the underlying binary tree() in this heap.
-
newContainer()
-
-
upheap(Position)
- Performs the upheap operation starting at
p
.
VBTHeap
public VBTHeap(Comparator comparator)
getBinaryTree
public InspectableBinaryTree getBinaryTree()
- Returns the underlying binary tree() in this heap.
- Overrides:
- getBinaryTree in class BTHeap
newContainer
public Container newContainer()
- Overrides:
- newContainer in class BTHeap
upheap
protected void upheap(Position p)
- Performs the upheap operation starting at
p
.
- Overrides:
- upheap in class BTHeap
downheap
protected void downheap(Position p)
- Performs the downheap operation starting at
p
.
- Overrides:
- downheap in class BTHeap
All Packages Class Hierarchy This Package Previous Next Index