k_random_intersection_graph#
- k_random_intersection_graph(n, m, k, seed=None)[source]#
返回一个交集图,其中每个节点的属性集是随机选择且大小相等 (k)。
- 参数:
- nint
第一个二分集中的节点数量 (nodes)
- mint
第二个二分集中的节点数量 (attributes)
- kfloat
分配给每个节点的属性集的大小。
- seedinteger, random_state, or None (default)
随机数生成状态的指示符。参见 Randomness。
另请参见
gnp_random_graph
,uniform_random_intersection_graph
参考文献
[1]Godehardt, E., and Jaworski, J. Two models of random intersection graphs and their applications. Electronic Notes in Discrete Mathematics 10 (2001), 129–132.