Click or drag to resize
GraphGeneratorBinaryTree Method
Returns a complete binary tree graph on V vertices.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static Graph BinaryTree(
	int V
)

Parameters

V
Type: SystemInt32
the number of vertices in the binary tree

Return Value

Type: Graph
a complete binary tree graph on V vertices
See Also