XNetwork 1.7.5; VERSION ${PROJECT_VERSION}
Loading...
Searching...
No Matches
Classes | Namespaces
exception.hpp File Reference

Exception hierarchy for the XNetwork library. More...

#include <stdexcept>
#include <string>
#include <string_view>
Include dependency graph for exception.hpp:

Go to the source code of this file.

Classes

struct  xnetwork::XNetworkException
 Base class for all XNetwork exceptions. More...
 
struct  xnetwork::XNetworkError
 Exception for a serious error in XNetwork. More...
 
struct  xnetwork::XNetworkPointlessConcept
 Raised when a null graph is provided as input to an algorithm that cannot use it. More...
 
struct  xnetwork::XNetworkAlgorithmError
 Exception for unexpected termination of algorithms. More...
 
struct  xnetwork::XNetworkUnfeasible
 Exception raised by algorithms trying to solve a problem instance that has no feasible solution. More...
 
struct  xnetwork::XNetworkNoPath
 Exception for algorithms that should return a path when running on graphs where such a path does not exist. More...
 
struct  xnetwork::XNetworkNoCycle
 Exception for algorithms that should return a cycle when running on graphs where such a cycle does not exist. More...
 
struct  xnetwork::HasACycle
 Raised if a graph has a cycle when an algorithm expects no cycles. More...
 
struct  xnetwork::XNetworkUnbounded
 Exception raised when a maximization or minimization problem instance is unbounded. More...
 
struct  xnetwork::XNetworkNotImplemented
 Exception raised by algorithms not implemented for a type of graph. More...
 
struct  xnetwork::NodeNotFound
 Exception raised when a requested node is not present in the graph. More...
 
struct  xnetwork::AmbiguousSolution
 Raised when more than one valid solution exists for an intermediary step of an algorithm. More...
 
struct  xnetwork::ExceededMaxIterations
 Raised when a loop exceeds the maximum number of iterations. More...
 

Namespaces

namespace  xnetwork
 

Detailed Description

Exception hierarchy for the XNetwork library.

Defines all exception types used by XNetwork algorithms and data structures. The hierarchy is rooted at XNetworkException (derived from std::runtime_error).