Return a random graph G(w) with expected degrees given by w.
Parameters : | w : list
create_using : graph, optional (default Graph)
seed : hashable object, optional
|
---|
References
[R104] | Fan Chung and L. Lu, Connected components in random graphs with given expected degree sequences, Ann. Combinatorics, 6, pp. 125-145, 2002. |
Examples
>>> z=[10 for i in range(100)]
>>> G=nx.expected_degree_graph(z)