Template Function ADS::countTriangles

Function Documentation

template<Graph G>
std::int64_t ADS::countTriangles(const G &g)

countTriangles(): the triangles of the unoriented graph

Pre:

the graph is unoriented