Template Function ADS::simpleCycles

Function Documentation

template<Graph G, class F>
void ADS::simpleCycles(const G &g, int s, F &&f)

simpleCycles(): f( C ) on each simple cycle through s, C its nodes from s back to s

Pre:

the graph is oriented, s is a node