|
From: | Ragia Ibrahim |
Subject: | Re: [igraph] Small-World Network |
Date: | Sun, 26 Jan 2014 07:34:11 +0200 |
many thanks Gábor
Ragia Date: Sat, 25 Jan 2014 23:20:26 -0500 From: address@hidden To: address@hidden Subject: Re: [igraph] Small-World Network On Sat, Jan 25, 2014 at 6:51 AM, Tamás Nepusz <address@hidden> wrote:
You need to use watts.strogatz.game() because the nodes connect to the second neighbors on the ring must be connected. So use watts.strogatz.game() with zero rewiring probability for this.
Then you can create the union of this and an E-R network, the only (slight) problem is that you might end up with some multiple edges. G.
_______________________________________________ igraph-help mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/igraph-help |
[Prev in Thread] | Current Thread | [Next in Thread] |