C# Class Default.Tree

Afficher le fichier Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Méthodes publiques

Свойство Type Description
nodes int
rand System.Random
root Node
seed System.Int32
time System.DateTime

Méthodes publiques

Méthode Description
AdjustTree ( Node x ) : void
BuildNode ( ) : Node
BuildTree ( ) : void
FindNode ( Node r, int k ) : Node
InsertNode ( ) : bool
PrintTree ( Node r ) : void
RotateTree ( Node x ) : void
SetNodeColor ( Node n ) : void
Tree ( int n ) : System
UniqueKey ( Node r, int k ) : bool
WhichChild ( Node n ) : string

Method Details

AdjustTree() public méthode

public AdjustTree ( Node x ) : void
x Node
Résultat void

BuildNode() public méthode

public BuildNode ( ) : Node
Résultat Node

BuildTree() public méthode

public BuildTree ( ) : void
Résultat void

FindNode() public méthode

public FindNode ( Node r, int k ) : Node
r Node
k int
Résultat Node

InsertNode() public méthode

public InsertNode ( ) : bool
Résultat bool

PrintTree() public méthode

public PrintTree ( Node r ) : void
r Node
Résultat void

RotateTree() public méthode

public RotateTree ( Node x ) : void
x Node
Résultat void

SetNodeColor() public méthode

public SetNodeColor ( Node n ) : void
n Node
Résultat void

Tree() public méthode

public Tree ( int n ) : System
n int
Résultat System

UniqueKey() public méthode

public UniqueKey ( Node r, int k ) : bool
r Node
k int
Résultat bool

WhichChild() public méthode

public WhichChild ( Node n ) : string
n Node
Résultat string

Property Details

nodes public_oe property

public int nodes
Résultat int

rand public_oe static_oe property

public static Random,System rand
Résultat System.Random

root public_oe property

public Node,Default root
Résultat Node

seed public_oe static_oe property

public static Int32,System seed
Résultat System.Int32

time public_oe static_oe property

public static DateTime,System time
Résultat System.DateTime