graphscope.nx.generators.intersection.general_random_intersection_graphΒΆ
- graphscope.nx.generators.intersection.general_random_intersection_graph(n, m, p, seed=None)[source]ΒΆ
Returns a random intersection graph with independent probabilities for connections between node and attribute sets.
- 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 (list of floats of length m) β Probabilities for connecting nodes to each attribute
seed (integer, random_state, or None (default)) β Indicator of random number generation state. See Randomness.
See also
gnp_random_graph,uniform_random_intersection_graphReferences