Name | Description | |
---|---|---|
NTreeGraph Constructor | Default constructor |
The following tables list the members exposed by NTreeGraph.
Name | Description | |
---|---|---|
NTreeGraph Constructor | Default constructor |
Name | Description | |
---|---|---|
Edges | Obtains a reference to the tree edges | |
Height | Gets the height (i.e. the total number of layers) of the tree. | |
IsBinary | Determines whether this is a binary tree. | |
Root | Gets the tree root vertex | |
Vertices | Obtains a reference to the tree vertices |
Name | Description | |
---|---|---|
AddEdge | Adds an edge to the tree | |
AddVertex | Adds a vertex to the tree | |
BreadthFirstTraversal | Performs a breath first traversal visiting of the parts in the tree, starting from the specified vertex | |
FindEdge | Returns the edge connecting the given child to its parent or null if the specified vertex is a root. | |
GetVerticesAtLevel | Obtains a list of the vertices at the specified level | |
InvalidateCashe | Overridden. Overriden to invalidate the cashe of the contained vertices and edges | |
PostOrderTraversal | Performs a post order (depth first) traversal visiting of the parts in the tree, starting from the specified vertex | |
PreOrderTraversal | Performs a pre order (depth first) traversal visiting of the parts in the tree, starting from the specified vertex | |
RemoveEdge | Removes the edge from the tree | |
RemoveVertex | Removes the vertex from the tree |