Average Pairwise Distance within Subgraphs

avg_dists(G)

Arguments

G

A graph whose subgraphs we want to find.