EoN.Epi_Prob_discrete(Pk, p, number_its=100)[source]

Encodes System (6.2) of Kiss, Miller, & Simon. Please cite the book if using this algorithm.

Pk dict
Pk[k] is probability a node has degree k.
p number
transmission probability
number_its int
number of iterations before assumed converged. default value is 100
PE float
Calculated Epidemic probability in the limit of a negligible fraction initially infected (assuming configuration model)