Calculation of betweenness in iGraph

≡放荡痞女 提交于 2019-12-08 08:57:28

Indeed, igraph assumes that the weights of the edges in betweenness calculation are costs, not strengths. This is because (as far as I know) betweenness is defined in terms of shortest paths, and the "length" of a path in graph theory is the sum of the lengths (weights) of the edges involved. There is no clear definition of "betweenness based on strengths". You can try to transform your "strengths" to costs, but you can get different results depending on the transformation you choose as some transformation may indicate that one particular path is shorter in the transformed graph and some other transformation may indicate that some other path is shorter.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!