work on optimal cas metric developing power law exponent 03-23-2014d1541 http://konect.uni-koblenz.de/statistics/power Albert-László Barabási and Réka Albert. Emergence of scaling in random networks. Science, 286(5439):509-512, 1999. power law exponent gamma=1+n*(sum(ln(d(u)/dmin(u)))) n = number of nodes d(u) = degree of node u dmin = minimum degree in distribution I think I will need to look at the paper to fix the code maybe. I don't know why they chose a min degree of 5 on the konect website for the euroroad.