DegreeGraphDistribution[dlist]
頂点次数 dlist の次数グラフ分布を表す.
DegreeGraphDistribution
DegreeGraphDistribution[dlist]
頂点次数 dlist の次数グラフ分布を表す.
詳細とオプション
- DegreeGraphDistributionはRandomGraphやGraphPropertyDistribution等の関数で使うことができる.
例題
すべて開く すべて閉じる例 (2)
RandomGraph[DegreeGraphDistribution[{4, 4, 3, 3, 2, 2}]]𝒟[n_, k_] := GraphPropertyDistribution[GlobalClusteringCoefficient[g], gDegreeGraphDistribution[ConstantArray[k, n]]]SmoothHistogram[Table[RandomVariate[𝒟[20, k], 500], {k, 5, 8}], Automatic, "PDF", Filling -> Axis]スコープ (3)
RandomGraph[DegreeGraphDistribution[{4, 4, 2, 2, 1, 1}]]RandomGraph[DegreeGraphDistribution[{3, 3, 2, 2, 1, 1}], 4]𝒟 = GraphPropertyDistribution[Length[First[ConnectedComponents[g]]] / VertexCount[g], gDegreeGraphDistribution[{3, 3, 2, 2, 1, 1}]];NProbability[x > 0.95, x𝒟]アプリケーション (2)
インフルエンザの大発生についての医学研究で,各被験者がグループ内での感染の可能性がある接触回数を報告した.接触のネットワークのシミュレーションを行う:
𝒢 = DegreeGraphDistribution[{2, 4, 4, 4, 3, 3, 2}];RandomGraph[𝒢, 4]NProbability[x == 1, xGraphPropertyDistribution[Boole[EdgeQ[g, 12]], g𝒢]]g = ExampleData[{"NetworkGraph", "ZacharyKarateClub"}]𝒢 = DegreeGraphDistribution[VertexDegree[g]];{VertexCount[g], EdgeCount[g]}Subscript[𝒟, 1] = GraphPropertyDistribution[VertexCount[h], h𝒢];
Subscript[𝒟, 2] = GraphPropertyDistribution[EdgeCount[h], h𝒢];
{Mean[Subscript[𝒟, 1]], Mean[Subscript[𝒟, 2]]}経験的な大域クラスタリング係数と論理的な大域クラスタリング係数:
N[GlobalClusteringCoefficient[g]]𝒟 = GraphPropertyDistribution[GlobalClusteringCoefficient[h], h𝒢];
N[Mean[𝒟]]特性と関係 (7)
𝒟[dlist_] := GraphPropertyDistribution[VertexCount[g], gDegreeGraphDistribution[dlist]]𝒟[{5, 2, 2, 5, 3, 4, 3}]𝒟[dlist_] := GraphPropertyDistribution[EdgeCount[g], gDegreeGraphDistribution[dlist]]𝒟[{5, 2, 2, 5, 3, 4, 3}]dlist = {14, 13, 12, 11, 11, 11, 10, 10, 10, 9, 8, 8, 7, 6, 5, 5, 5, 5, 5, 5};f[g_ ? GraphQ] := RandomChoice[VertexDegree[g]]RandomVariate[GraphPropertyDistribution[f[g], gDegreeGraphDistribution[dlist]], 10]𝒟 = EmpiricalDistribution[dlist];DiscretePlot[PDF[𝒟, x], {x, 0, 15}, ExtentSize -> 1 / 2]Mean[𝒟]ds1 = {3, 3, 2, 2, 1, 1};
Total[ds1]RandomGraph[DegreeGraphDistribution[ds1]]ds2 = {3, 3, 2, 2, 2, 1};
Total[ds2]RandomGraph[DegreeGraphDistribution[ds2]]g = RandomGraph[{7, 9}]d = Sort[VertexDegree[g], Greater]Join[Take[d, {2, First[d] + 1}] - 1, Drop[d, First[d] + 1]]RandomGraph[DegreeGraphDistribution[%]]SimpleGraphQ /@ {g, %}g = RandomGraph[{10, 12}]IsomorphicGraphQ[g, #]& /@ Table[RandomGraph[DegreeGraphDistribution[VertexDegree[g]]], {10}]異なる次数の次数列は自己ループのあるグラフとして実現される:
RandomGraph[DegreeGraphDistribution[Range[7]]]LoopFreeGraphQ[%]関連するガイド
-
▪
- ランダムグラフ
テキスト
Wolfram Research (2010), DegreeGraphDistribution, Wolfram言語関数, https://reference.wolfram.com/language/ref/DegreeGraphDistribution.html.
CMS
Wolfram Language. 2010. "DegreeGraphDistribution." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/DegreeGraphDistribution.html.
APA
Wolfram Language. (2010). DegreeGraphDistribution. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DegreeGraphDistribution.html
BibTeX
@misc{reference.wolfram_2026_degreegraphdistribution, author="Wolfram Research", title="{DegreeGraphDistribution}", year="2010", howpublished="\url{https://reference.wolfram.com/language/ref/DegreeGraphDistribution.html}", note=[Accessed: 13-September-2026]}
BibLaTeX
@online{reference.wolfram_2026_degreegraphdistribution, organization={Wolfram Research}, title={DegreeGraphDistribution}, year={2010}, url={https://reference.wolfram.com/language/ref/DegreeGraphDistribution.html}, note=[Accessed: 13-September-2026]}