DigraphGeneratorBinaryTree Method |
Returns a complete binary tree digraph on V vertices.
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static Digraph BinaryTree(
int V
)
Parameters
- V
- Type: SystemInt32
the number of vertices in the binary tree
Return Value
Type:
Digrapha digraph that is a complete binary tree on
V vertices
See Also