LinkRankMatrix[g]
グラフ g のリンクランクを疎(スパース)行列の形式で返す.辺 u->v のリンクランクは,u の出次数で除算された u のPageRanksとして定義される.
LinkRankMatrix
LinkRankMatrix[g]
グラフ g のリンクランクを疎(スパース)行列の形式で返す.辺 u->v のリンクランクは,u の出次数で除算された u のPageRanksとして定義される.
詳細とオプション
- LinkRankMatrixの機能はWolfram言語の組込み関数LinkRankCentralityで利用できるようになった.
- LinkRankMatrixを使うためには,まずグラフユーティリティパッケージをロードしなくてはならない.それにはNeeds["GraphUtilities`"]を実行する必要がある.
- 次のオプションを使うことができる:
-
Tolerance Automatic 収束チェックのために使われる許容度 TeleportProbability 0.15 ランダムなノードを訪れる可能性 RemoveSinks True シンクとすべてのノードをリンクすることによりシンクを除去するかどうか - 頂点 i から頂点 j までのリンクのリンクランクは,PageRanks[g]により与えられる i のページランクを出次数で割ったものとして定義される.
- リンクランクは,ランダムサーファーがそのリンクの方に進む確率を反映する.
- LinkRankMatrixはとPageRanksと同じオプションを持つ.
例題
すべて開く すべて閉じる例 (2)
Needs["GraphUtilities`"]g = {"home" -> "contact", "home" -> "links", "home" -> "work", "links" -> "friend site", "friend site" -> "home", "work" -> "home", "contact" -> "home"};LinkRankMatrix[g] // MatrixFormLinkRankMatrixの代わりにLinkRankCentralityが使われるようになった:
g = Graph[{"home" -> "contact", "home" -> "links", "home" -> "work", "links" -> "friend site", "friend site" -> "home", "work" -> "home", "contact" -> "home"}];LinkRankCentrality[g]WeightedAdjacencyMatrix[g, EdgeWeight -> %]//MatrixFormアプリケーション (1)
Needs["GraphUtilities`"]g = {"home" -> "contact", "home" -> "links", "home" -> "work", "links" -> "friend site", "friend site" -> "home", "work" -> "home", "contact" -> "home"};GraphPlot[g, VertexLabeling -> True, DirectedEdges -> True]lm = LinkRankMatrix[g]GraphPlot[g, VertexLabeling -> True, EdgeRenderingFunction -> ({RGBColor[0.5, 0., 0.], Arrowheads[{{0.03, 0.8}}], Arrow[#1], Text[lm[[First[#4], Last[#4]]], LineScaledCoordinate[#1, .6], Background -> White]}&), DirectedEdges -> True]テクニカルノート
関連するガイド
-
▪
- グラフユーティリティパッケージ ▪
- グラフとネットワーク ▪
- グラフの可視化 ▪
- グラフ上の計算 ▪
- グラフの構築と表現 ▪
- グラフと行列 ▪
- グラフの特性と測定 ▪
- グラフの操作と変更 ▪
- ランダムグラフ ▪
- ソーシャルネットワーク分析 ▪
- グラフの特性 ▪
- 数学データ形式 ▪
- 離散数学
テキスト
Wolfram Research (2007), LinkRankMatrix, Wolfram言語関数, https://reference.wolfram.com/language/GraphUtilities/ref/LinkRankMatrix.html.
CMS
Wolfram Language. 2007. "LinkRankMatrix." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/GraphUtilities/ref/LinkRankMatrix.html.
APA
Wolfram Language. (2007). LinkRankMatrix. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/GraphUtilities/ref/LinkRankMatrix.html
BibTeX
@misc{reference.wolfram_2026_linkrankmatrix, author="Wolfram Research", title="{LinkRankMatrix}", year="2007", howpublished="\url{https://reference.wolfram.com/language/GraphUtilities/ref/LinkRankMatrix.html}", note=[Accessed: 17-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_linkrankmatrix, organization={Wolfram Research}, title={LinkRankMatrix}, year={2007}, url={https://reference.wolfram.com/language/GraphUtilities/ref/LinkRankMatrix.html}, note=[Accessed: 17-June-2026]}