Qurak

Centrality and prestige of Florentine families

示例 4 步,在同一个会话中按顺序运行。每一步都在引擎上执行过,下面的输出就是它实际产生的。

第 1 步
g = ExampleData[{"NetworkGraph", "FlorentineFamilies"}]
输出
ExampleData[{NetworkGraph, FlorentineFamilies}]
第 2 步
Part[VertexList[g], Ordering[EigenvectorCentrality[g], All, Greater]]
输出
VertexList[ExampleData[{NetworkGraph, FlorentineFamilies}]]
第 3 步
Part[VertexList[g], Ordering[ClosenessCentrality[g], All, Greater]]
输出
VertexList[ExampleData[{NetworkGraph, FlorentineFamilies}]]
第 4 步
Part[VertexList[g], Ordering[BetweennessCentrality[g], All, Greater]]
输出
VertexList[ExampleData[{NetworkGraph, FlorentineFamilies}]]

用到的函数

相关操作示例

全部操作示例 · 函数参考 · 从 MCP 客户端使用