NetworkX

Previous topic

networkx.generators.bipartite.bipartite_alternating_havel_hakimi_graph

Next topic

networkx.generators.bipartite.bipartite_random_regular_graph

networkx.generators.bipartite.bipartite_preferential_attachment_graph

networkx.generators.bipartite.bipartite_preferential_attachment_graph(aseq, p, create_using=None, seed=None)

Create a bipartite graph with a preferential attachment model from a given single degree sequence.

Parameters :

aseq : list or iterator

Degree sequence for node set A.

p : float

Probability that a new bottom node is added.

create_using : NetworkX graph instance, optional

Return graph of this type.

seed : integer, optional

Seed for random number generator.

References

[R149]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