Click or drag to resize
CycleGetCycle Method
Returns a cycle in the graph G. A property in place of a method would be better; however the compiler will not allow a property having the same name as the defining class.

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 cycle if the graph G has a cycle, and null otherwise
See Also