Click or drag to resize
DirectedCycleXGetCycle Method
Returns a directed cycle if the digraph has a directed cycle, and null otherwise.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public IEnumerable<int> GetCycle()

Return Value

Type: IEnumerableInt32
a directed cycle (as an iterable) if the digraph has a directed cycle, and null otherwise
See Also