# HG changeset patch # User Brian Neal # Date 1357871096 21600 # Node ID d876711b88b59880c814ce830a25155498221a1a # Parent 931f60dee99e8df45c000452fe8d8ca1f288af2e Comment out the calculation of L as it may take a long time. diff -r 931f60dee99e -r d876711b88b5 ch5ex7.py --- a/ch5ex7.py Thu Jan 10 20:23:52 2013 -0600 +++ b/ch5ex7.py Thu Jan 10 20:24:56 2013 -0600 @@ -56,11 +56,13 @@ print 'Calculating clustering coefficient...' c = g.clustering_coefficient() print 'c =', c - print 'Setting edge lengths...' - g.set_edge_length(1) - print 'Calculating characteristic length L...' - l3 = g.big_l3() - print 'L =', l3 + + # This may take a looong time...... + #print 'Setting edge lengths...' + #g.set_edge_length(1) + #print 'Calculating characteristic length L...' + #l3 = g.big_l3() + #print 'L =', l3 print 'Plotting data...' pyplot.clf()