|
ADS
Algorithms and Data Structures
|
the result: the distances, infinity() if not reachable, the tree of the parents, NIL for \( r \) and the unreachable nodes, the nodes in the order of extraction from \( S \), and whether a negative cycle was found More...
#include <ADS/graph/ShortestPaths.h>
Public attributes | |
| std::vector< D > | d |
| the distances | |
| std::vector< int > | T |
| the parent of each node | |
| std::vector< int > | order |
| the nodes in the order of extraction | |
| bool | negativeCycle = false |
| whether a negative cycle was found | |
the result: the distances, infinity() if not reachable, the tree of the parents, NIL for \( r \) and the unreachable nodes, the nodes in the order of extraction from \( S \), and whether a negative cycle was found
| std::vector< D > ADS::ShortestPathTree< D >::d |
the distances
| bool ADS::ShortestPathTree< D >::negativeCycle = false |
whether a negative cycle was found
| std::vector< int > ADS::ShortestPathTree< D >::order |
the nodes in the order of extraction
| std::vector< int > ADS::ShortestPathTree< D >::T |
the parent of each node