BA生成网络我要分享

Ba generation network

关注次数: 185

下载次数: 0

文件大小: 2.32 kB

代码分类: 其他

开发平台: matlab

下载需要积分: 2积分

版权声明:如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

代码描述

中文说明:赌轮法生成BA网络,可以选择三种初始网络的连接方式,分别孤立节点,全连接和随机连接三种模式。一般选择全连接的方式,分别计算每个节点的度和累积度分布,与随机值比较,即可得出是否有对应的边连接。


English Description:

In order to generate BA network with roulette wheel method, three connection modes of initial network can be selected, namely isolated node, full connection and random connection. Generally, the full connection mode is selected, and the degree and cumulative degree distribution of each node are calculated respectively. Compared with the random value, the corresponding edge connection can be obtained.


代码预览

相关推荐