Graphs and results#
The graph classes, the result maps returned by algorithms, and the exception hierarchy (aryagraph.core).
Graph classes#
DAG#
Directed acyclic graph. |
Result maps#
Exceptions#
Base class for all AryaGraph errors. |
|
A node was requested that is not in the graph. |
|
An edge was requested that is not in the graph. |
|
An operation needs an acyclic graph but found a cycle. |
|
A shortest-path computation met a negative-weight cycle. |
|
A method that needs non-negative edge weights met a negative one. |
|
A maximum flow is infinite (an all-infinite-capacity path joins source and sink). |
|
No path exists between the requested nodes. |
|
The measure is only defined for a connected (or strongly connected) graph. |
|
The algorithm does not support this kind of graph (e.g. needs directed). |
|
An iterative method did not converge within its iteration budget. |
|
An optional dependency needed for this feature is not installed. |