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

Constructor Index

 o VBTHeap(Comparator)

Method Index

 o downheap(Position)
Performs the downheap operation starting at p.
 o getBinaryTree()
Returns the underlying binary tree() in this heap.
 o newContainer()
 o upheap(Position)
Performs the upheap operation starting at p.

Constructors

 o VBTHeap
 public VBTHeap(Comparator comparator)

Methods

 o getBinaryTree
 public InspectableBinaryTree getBinaryTree()
Returns the underlying binary tree() in this heap.

Overrides:
getBinaryTree in class BTHeap
 o newContainer
 public Container newContainer()
Overrides:
newContainer in class BTHeap
 o upheap
 protected void upheap(Position p)
Performs the upheap operation starting at p.

Overrides:
upheap in class BTHeap
 o 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