Combinatorica`
Combinatorica`

BreadthFirstTraversal

バージョン10で,Combinatorica パッケージの機能のほとんどがWolframシステムに組み込まれた. »

BreadthFirstTraversal[g,v]

グラフ g の幅優先探索を頂点 v から実行し,頂点の幅優先数を与える.

BreadthFirstTraversal[g,v,Edge]

幅優先探索により探索されたグラフの辺を返す.

BreadthFirstTraversal[g,v,Tree]

幅優先探索木を返す.

BreadthFirstTraversal[g,v,Level]

頂点のレベル番号を返す.

詳細とオプション

例題

  (2)

BreadthFirstTraversalの代りにBreadthFirstScanが使われるようになった:

Wolfram Research (2012), BreadthFirstTraversal, Wolfram言語関数, https://reference.wolfram.com/language/Combinatorica/ref/BreadthFirstTraversal.html.

テキスト

Wolfram Research (2012), BreadthFirstTraversal, Wolfram言語関数, https://reference.wolfram.com/language/Combinatorica/ref/BreadthFirstTraversal.html.

CMS

Wolfram Language. 2012. "BreadthFirstTraversal." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/BreadthFirstTraversal.html.

APA

Wolfram Language. (2012). BreadthFirstTraversal. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Combinatorica/ref/BreadthFirstTraversal.html

BibTeX

@misc{reference.wolfram_2024_breadthfirsttraversal, author="Wolfram Research", title="{BreadthFirstTraversal}", year="2012", howpublished="\url{https://reference.wolfram.com/language/Combinatorica/ref/BreadthFirstTraversal.html}", note=[Accessed: 21-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_breadthfirsttraversal, organization={Wolfram Research}, title={BreadthFirstTraversal}, year={2012}, url={https://reference.wolfram.com/language/Combinatorica/ref/BreadthFirstTraversal.html}, note=[Accessed: 21-December-2024 ]}