Click or drag to resize
BellmanFordSPHasNegativeCycle Property
Is there a negative cycle reachable from the source vertex s?

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public bool HasNegativeCycle { get; }

Return Value

Type: Boolean
true if there is a negative cycle reachable from the source vertex s, and false otherwise
See Also