Template Struct AllPairs

Struct Documentation

template<class D>
struct AllPairs

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

Public Members

std::vector<std::vector<D>> d
std::vector<std::vector<int>> p
bool negativeCycle = false