|
From: | Tamas Nepusz |
Subject: | Re: [igraph] rewire |
Date: | Fri, 11 Sep 2015 11:34:48 +0200 |
(2) If I set niter = 100, does it mean 100 edge pairs will be rewired?No, it means that 100 attempts will be made. Some may be unsuccessful.
Is there a probability that controls whether to rewire each selected edge pairs?
Some times a randomly selected edge pair can not be rewired, will this counted a trial or only successfully rewired ones will be counted as a trail?"Trial" means "attempt". Not all attempts will be successful.
(3) Sometimes, the rewired network will be divided into several components, even when the original network is one connected component. Is there is a way to control the rewire process make the network connected?
Rewiring many times creates a random graph with the same degree sequence as your starting point. You can check out the degree sequence game function with the Viger-Latapy method, which creates connected graphs.
[Prev in Thread] | Current Thread | [Next in Thread] |