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.

_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to