toad wrote:
> What's norm? How is it different to 1.0?

It's a normalising constant that's used to produce the desired number of 
links per node, regardless of the size of the network (see the bottom of 
page 4 of "The Small World Phenomenon: An Algorithmic Perspective").

The constant is the sum of the reciprocals of the lattice distances to 
all the other nodes, which turns out to be the same for every node, so I 
moved the calculation of the constant outside the loop.

Cheers,
Michael

Reply via email to