Generate a random connex network topology in respect with the Locality method.
[g]=NtgLocalityConnex(n,l,d)
network size.
network squared area side.
Locality radius.
network graph.
NtgLocalityConnex creates a random connex network topology g in respect with the Locality method LM.
n nodes are placed inside a square of side l. The probability to create a link between two nodes depends on their distance di and the Locality radius R. If di is inferior to R, a link is created. The largest connex component of the generated graph is extracted.