igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] SIR Model in Python igraph?


From: Tamas Nepusz
Subject: Re: [igraph] SIR Model in Python igraph?
Date: Tue, 18 Nov 2014 10:47:50 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

Now that I know that SIR is implemented in the C layer, I could actually take
a look at the source code to answer this question ;)

> As far as I understand if I set gamma to 0 I obtain a simple SI model, right?
Yes, it seems to be the case.

> Is it possible to specify the number or the ratio of the infected nodes at
> the beginning of the simulation?
Judging from the source code, it's not possible yet -- the algorithm simply
chooses a random node as the first infection.

All the best,
T.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]