Used in several places so that we can input a graph and then we can call the methods that depend on the degree distribution
G networkx Graph
Pk[k] is the proportion of nodes with degree k.
Pk[k]
k
EoN.EBCM_pref_mix_discrete_from_graph
EoN.get_PGF