12 May
2020
12 May
'20
8:13 a.m.
Am 10.05.20 um 21:02 schrieb BleakHeart:
In evolution I change the beta of all the edges of the graph at a given timestamp, and I would expect that the infection will stop to spread after I change the edge property map. But it doesn't happen and the infenction continue to spread in the network.
There was a bug in the implementation of 'constant_beta' that prevents this for working. This has been fixed already in the git version. In the meantime, you will need to re-create the SISState object after you modify the transmission probabilities. (Note also that your code is terribly inefficient, and you generate a full list of edges at each iteration, only to sample a single one.) -- Tiago de Paula Peixoto <tiago@skewed.de>