EoN.Attack_rate_discrete_from_graph¶
-
EoN.
Attack_rate_discrete_from_graph
(G, p, initial_infecteds=None, initial_recovereds=None, rho=None, number_its=100)[source]¶ if initial_infecteds and initial_recovereds is defined, then it will find Sk0, phiS0, and phiR0 and then call Attack_rate_discrete.
Otherwise it calls attack_rate_discrete with rho.