我正在尝试在 python 上的igraph
执行社区检测算法,我将它们之间的连接强度用作边缘的权重,但我不知道igraph
算法是否将其用作距离度量或强度度量.
igraph
as a whole has no such interpretation. It's a package that supports a variety of operations on an abstract graph -- a bipartite set of nodes and edges, each of which have various properties. The interpretation is driven by the use case.
The semantics of the edge weight depend on the application. The appropriate metaphor depends on the method called . For instance, shortest_paths_dijkstra
treats them as distance or cost. evcent
sees them as connection strength. maxflow
uses them as flow capacity.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.