改进LFR生成符号网络
对每个节点连到外面的边,强制将按一定比例将其改成负值。
这还有个例子,比如0.6的外联比例,0.25的负外联比例。就可以制造每个节点的内联概率为40%,外联但是正边的概率35%,外联负边概率25%
FR的生成代码里加一个概率参数,随机改变每个点的一些外联边为负就可以啦
LFR 原始论文 PDF 地址:
Benchmark graphs for testing community detection algorithms
https://sites.google.com/site/santofortunato/benchmark.pdf?attredirects=0
Benchmarks for testing community detection algorithms on directed and weighted
graphs with overlapping communities
https://sites.google.com/site/santofortunato/newbenchmarks.pdf?attredirects=0
源程序在 Santo Fortunat 的网站上可以找到:
https://sites.google.com/site/santofortunato/inthepress2
参考文献:https://www.nature.com/articles/srep14339/
LFR简单入门:https://blog.csdn.net/u011089523/article/details/76589065