graphscope.nx.generators.intersection.uniform_random_intersection_graph

graphscope.nx.generators.intersection.uniform_random_intersection_graph(n, m, p, seed=None)[source]

Returns a uniform random intersection graph.

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)

  • p (float) – Probability of connecting nodes between bipartite sets

  • seed (integer, random_state, or None (default)) – Indicator of random number generation state. See Randomness.

See also

gnp_random_graph

References