C# Class QUT.Gplex.TreeSet.Node

This class defines nodes for use in a set ADT based on binary trees. In this application we do not need deletion.
Afficher le fichier Open project: spark-shading-language/spark

Private Methods

Méthode Description
Delete ( Node &tree, int key ) : void

Delete key from tree rooted at tree if the key is present in the tree. This is a static method with a ref param to handle the special case of deletion of a leaf node.

Insert ( int key ) : void

Insert key, if not already present.

Largest ( ) : Node
Lookup ( int key ) : bool

Check if key is a member of the set

Node ( int value ) : System
RemovedOk ( int key ) : bool
Smallest ( ) : Node