Class Bst-Node

Direct Superclass Summary

two-child-node

Direct Subclass Summary

red-black-node

Slot Summary

elementReader:element.
left-childAccessors:left-child.
parentInitargs:parent; Accessors:parent.
right-childAccessors:right-child.
treeInitargs:tree; Accessors:tree.

Direct Method Summary

bst-node-is-left-childIs this node the left child of its parent?
bst-node-is-right-childIs this node the right child of its parent?
bst-node-replace-childReplace the child of this node.
bst-node-set-left-childSet new-left as the left child of node
bst-node-set-right-childSet new-right as the right child of node
delete-item
delete-node
find-itemFind item in container using the container's test
method for comparisons. The test method must ta...
first-element
insert-itemAdds item to the container
last-element
node-empty-p
predecessor
right-most-childWalk down the right side of the tree until a leaf node is
found, then return that node
setffirst-element
setflast-element
sizeReturns the number of items currently in the container.
splay-tree-rotaterotate the node (and maybe the parent) until the node is
the root of the tree
splay-tree-splayPreform the splay operation on the tree about this node
rotating the node until it becomes the ro...
successor
walk-tree
walk-tree-nodes

Other Method Summary

height
rotate-left
rotate-right
search-for-node
search-for-node*