aryagraph.core.exceptions.NegativeCycleError#
- exception aryagraph.core.exceptions.NegativeCycleError(message: str, cycle: Sequence[Hashable] = ())[source]#
Bases:
AryaGraphError,ValueErrorA shortest-path computation met a negative-weight cycle.
Bases: AryaGraphError, ValueError
A shortest-path computation met a negative-weight cycle.