聚类系数的定义:
Node-1 has 1 complete triangle and 3 triangular graphs, so C(1) = 1/3
Node-2 has 1 complete triangle and 3 triangular graphs, so C(2) = 1/3
Node-3 has 1 complete triangle and 1 triangular graph, so C(3) = 1
Node-4 has 0 complete triangles, so C(4) = 0
Node-5 has 0 complete triangles, so C(5) = 0
Average C = (1/3+1/3+1+0+0) / 5 = 1/3
2022-03-05 10:13:58
12.19MB
复杂网络
1