GraphUtilities`
GraphUtilities`
LinkRanks
As of Version 10, all the functionality of the GraphUtilities package is built into the Wolfram System. »
LinkRanks[g]
gives the link ranks of the directed graph g as a rule list.
更多信息和选项
- LinkRanks functionality is now available in the built-in Wolfram Language function LinkRankCentrality.
- To use LinkRanks, you first need to load the Graph Utilities Package using Needs["GraphUtilities`"].
- The following options can be given:
-
Tolerance Automatic tolerance used for convergence check TeleportProbability 0.15 probability of visiting random nodes RemoveSinks True whether to remove sinks by linking them with every node - The link rank of a link from vertex i to vertex j is defined as page rank of i, as given by PageRanks[g], divided by the out-degree of i.
- The link rank reflects the probability that a random surfer follows that link.
- LinkRanks has the same options as PageRanks.
范例
基本范例 (2)
This defines a small directed graph:
This calculates the link ranks:
LinkRanks has been superseded by LinkRankCentrality:
Wolfram Research (2007),LinkRanks,Wolfram 语言函数,https://reference.wolfram.com/language/GraphUtilities/ref/LinkRanks.html.
文本
Wolfram Research (2007),LinkRanks,Wolfram 语言函数,https://reference.wolfram.com/language/GraphUtilities/ref/LinkRanks.html.
CMS
Wolfram 语言. 2007. "LinkRanks." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/GraphUtilities/ref/LinkRanks.html.
APA
Wolfram 语言. (2007). LinkRanks. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/GraphUtilities/ref/LinkRanks.html 年