Warning
This documents an unmaintained version of NetworkX. Please upgrade to a maintained version and see the current NetworkX documentation.
preferential_attachment_graph¶
-
preferential_attachment_graph
(aseq, p, create_using=None, seed=None)[source]¶ Create a bipartite graph with a preferential attachment model from a given single degree sequence.
Parameters: References
[1] Jean-Loup Guillaume and Matthieu Latapy, Bipartite structure of all complex networks, Inf. Process. Lett. 90, 2004, pg. 215-221 http://dx.doi.org/10.1016/j.ipl.2004.03.007 Notes
This function is not imported in the main namespace. To use it you have to explicitly import the bipartite package.