Template Function ADS::isEulerianCycle

Function Documentation

template<Graph G>
bool ADS::isEulerianCycle(const G &g, const std::vector<int> &c)

whether the nodes c, the first repeated at the end, are a closed path that uses each edge of g exactly once; empty if g has no edge