Click or drag to resize
BellmanFordSPGetNegativeCycle Method
Returns a negative cycle reachable from the source vertex s, or null if there is no such cycle.

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

Return Value

Type: IEnumerableDirectedEdge
a negative cycle reachable from the soruce vertex s as an iterable of edges, and null if there is no such cycle
See Also