FloydWarshallNegativeCycle Method |
Returns a negative cycle, or null if there is no such cycle.
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic IEnumerable<DirectedEdge> NegativeCycle()
Return Value
Type:
IEnumerableDirectedEdgea negative cycle as an iterable of edges,
or
null if there is no such cycle
See Also