简体   繁体   English

igraph R中的边缘中心度度量

[英]Edge centrality measures in igraph R

Igraph R package has the implemented edge betweenness centrality. Igraph R软件包具有已实现的边缘中间性。 I am aware that there are other edge centrality measures studied in the literature. 我知道在文献中还研究了其他边缘集中度度量。 Are there packages that include some other edge centrality measures for instance k-path edge centrality measure ? 是否有包含其他边缘集中度度量的软件包,例如k路径边缘集中度度量? Can we compute an edge centrality index using a line graph of a graph under question ? 我们可以使用所讨论图形的线图来计算边缘中心度指数吗?

The CINNA package on CRAN supports all kinds of centrality measures, including also k-path edge centrality, I believe. 我相信,CRAN上CINNA软件包支持各种集中度度量,包括k路径边缘集中度。

You can view the measures with: 您可以使用以下方法查看度量:

library("igraph")
library("CINNA")

g <- erdos.renyi.game(100, 0.2)
proper_centralities(g)
#[1] "subgraph centrality scores"                      
#[2] "Topological Coefficient"                         
#[3] "Average Distance"                                
#[4] "Barycenter Centrality"                           
#[5] "BottleNeck Centrality"                           
#[6] "Centroid value"                                  
#[7] "Closeness Centrality (Freeman)"                  
# ...                       
#[16] "K-core Decomposition"                            
#[17] "Geodesic K-Path Centrality"                      
#[18] "Katz Centrality (Katz Status Index)"             
# ...                 
#[41] "Stress Centrality"                               
#[42] "Load Centrality"                                 
#[43] "Flow Betweenness Centrality"                     
#[44] "Information Centrality"                          
#[45] "Dangalchev Closeness Centrality"                 
#[46] "Group Centrality"                                
#[47] "Harmonic Centrality"                             
#[48] "Local Bridging Centrality"                       
#[49] "Wiener Index Centrality"   

As you can see, there are plenty to choose from. 如您所见,有很多可供选择。 The calculate_centralities function can the calculate the measures for a given graph. calculate_centralities函数可以计算给定图形的度量。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM