BipartiteXOddCycle Method |
Returns an odd-length cycle if the graph is not bipartite, and
null otherwise.
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic IEnumerable<int> OddCycle()
Return Value
Type:
IEnumerableInt32an odd-length cycle if the graph is not bipartite
(and hence has an odd-length cycle), and
null otherwise
See Also