Click or drag to resize
DigraphGeneratorRootedInTree Method
Returns a random rooted-in tree on V vertices. A rooted in-tree is an oriented tree in which there is a single vertex reachable from every other vertex. The tree returned is not chosen uniformly at random among all such trees.

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

Parameters

V
Type: SystemInt32
the number of vertices

Return Value

Type: Digraph
a random rooted-in tree on V vertices
See Also