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: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic IEnumerable<int> GetCycle()
Return Value
Type:
IEnumerableInt32a cycle if the graph
G has a cycle,
and
null otherwise
See Also