EoN.Attack_rate_cts_time_from_graph¶
-
EoN.
Attack_rate_cts_time_from_graph
(G, tau, gamma, initial_infecteds=None, initial_recovereds=None, rho=None, number_its=100)[source]¶ Given a graph, predicts the attack rate for Configuration Model networks with the given degree distribution. This does not account for any structure in
G
beyond degree distribution.First calculates the degree distribution and then calls Attack_rate_cts_time.
See also: estimate_SIR_prob_size(G, p) which accounts for entire structure of G, not just degree distribution.