ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::AllPairs< D > Struct Template Reference

the distances, the predecessors and whether there is a negative cycle More...

#include <ADS/graph/AllPairsShortestPaths.h>

Public attributes

std::vector< std::vector< D > > d
 the distance of each pair
std::vector< std::vector< int > > p
 the predecessor of each pair
bool negativeCycle = false
 whether a negative cycle exists

Detailed description

template<class D>
struct ADS::AllPairs< D >

the distances, the predecessors and whether there is a negative cycle

Member data documentation

◆ d

template<class D>
std::vector< std::vector< D > > ADS::AllPairs< D >::d

the distance of each pair

◆ negativeCycle

template<class D>
bool ADS::AllPairs< D >::negativeCycle = false

whether a negative cycle exists

◆ p

template<class D>
std::vector< std::vector< int > > ADS::AllPairs< D >::p

the predecessor of each pair


The documentation for this struct was generated from the following file: