Table of Contents

Class NegativeCycleException

Namespace
Graph1x.Algorithms
Assembly
Graph1x.dll

Thrown when a shortest-path computation detects a negative-weight cycle, which makes shortest distances undefined for the affected vertices.

public class NegativeCycleException : InvalidOperationException, ISerializable
Inheritance
NegativeCycleException
Implements
Inherited Members

Constructors

NegativeCycleException()

Initializes the exception with a default message.

public NegativeCycleException()

NegativeCycleException(string)

Initializes the exception with message.

public NegativeCycleException(string message)

Parameters

message string

The error message.

NegativeCycleException(string, Exception)

Initializes the exception with message and innerException.

public NegativeCycleException(string message, Exception innerException)

Parameters

message string

The error message.

innerException Exception

The exception that caused this one.