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: Luca Rossi
Subject: Re: [igraph] SIR Model in Python igraph?
Date: Tue, 18 Nov 2014 09:50:42 +0000

Thanks,

that means  the initial infector is always a single node, right?

thanks

l.

Luca Rossi

Assistant Professor
Culture & Games
IT University of Copenhagen
Rued Langgaards Vej, 7
2300, København S. Danmark
address@hidden

On 18 Nov 2014, at 10:47, Tamas Nepusz <address@hidden> wrote:

> 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
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


reply via email to

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