Template Function ADS::connectedComponents

Function Documentation

template<Executor E, class W>
std::vector<int> ADS::connectedComponents(E &ex, const StaticGraph<W> &g)

the least node of the component of each node, an oriented graph taken as unoriented