uniform_random_intersection_graph#
- uniform_random_intersection_graph(n, m, p, seed=None)[source]#
返回一个均匀随机交图。
- 参数:
- nint
第一个二部集合(节点)中的节点数量
- mint
第二个二部集合(属性)中的节点数量
- pfloat
连接两个二部集合之间节点的概率
- seed整数, random_state, 或 None (默认)
随机数生成状态的指示符。参见 随机性。
另请参阅
gnp_random_graph
参考资料
[1]K.B. Singer-Cohen, Random Intersection Graphs, 1995, 博士论文, Johns Hopkins University
[2]Fill, J. A., Scheinerman, E. R., and Singer-Cohen, K. B., Random intersection graphs when m = !(n): An equivalence theorem relating the evolution of the g(n, m, p) and g(n, p) models. Random Struct. Algorithms 16, 2 (2000), 156–176.