Template Function ADS::diameter
Defined in File Properties.h
Function Documentation
-
template<Graph G>
int ADS::diameter(const G &g) diameter(): the largest distance in edges between two nodes
- Pre:
the graph has a node, and every node reaches all the others