NetworkX

Previous topic

networkx.generators.intersection.uniform_random_intersection_graph

Next topic

networkx.generators.intersection.general_random_intersection_graph

networkx.generators.intersection.k_random_intersection_graph

networkx.generators.intersection.k_random_intersection_graph(n, m, k)

Return a intersection graph with randomly chosen attribute sets for each node that are of equal size (k).

Parameters :

n : int

The number of nodes in the first bipartite set (nodes)

m : int

The number of nodes in the second bipartite set (attributes)

k : float

Size of attribute set to assign to each node.

seed : int, optional

Seed for random number generator (default=None).

See also

gnp_random_graph, uniform_random_intersection_graph

References

[R169]Godehardt, E., and Jaworski, J. Two models of random intersection graphs and their applications. Electronic Notes in Discrete Mathematics 10 (2001), 129–132.