|
From: | Tamas Nepusz |
Subject: | Re: [igraph] assortativity for small world graph |
Date: | Tue, 25 Aug 2009 18:29:18 +0100 |
You mean you'd like to connect vertex i on the ring with vertex i+2 and i-2 besides vertex i+1 and i-1? You can use nei=2 for that -- nei=2 is supported for Graph.Watts_Strogatz but not for Graph.Lattice.gSW= Graph.Watts_Strogatz(dim=1,size=g.vcount(), nei=1,p=0.05)but can I specify the mean size of the neighborhood? it looks like it is fixed on 2, is it?
Thanks, -- Tamas
[Prev in Thread] | Current Thread | [Next in Thread] |