Click or drag to resize
DigraphGeneratorEulerianCycle Method
Returns an Eulerian cycle digraph on V vertices.

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

Parameters

V
Type: SystemInt32
the number of vertices in the cycle
E
Type: SystemInt32
the number of edges in the cycle

Return Value

Type: Digraph
a digraph that is a directed Eulerian cycle on V vertices and E edges
Exceptions
ExceptionCondition
ArgumentExceptionif either V <= 0 or E <= 0
See Also