EoN.SIS_effective_degree_from_graph¶
-
EoN.
SIS_effective_degree_from_graph
(G, tau, gamma, initial_infecteds=None, rho=None, tmin=0, tmax=100, tcount=1001, return_full_data=False)[source]¶ Calls SIS_effective_degree after calculating Ssi0, Isi0 from the graph G and initialf fraction infected rho.
WARNING: This can have segmentation faults if there are too many degrees in the graph. This appears to happen because of trouble in numpy, and I have not been able to find a way around it.