FindSubgraphIsomorphism[g1,g2]
頂点名を変更することでグラフ g1を部分グラフ g2に写像する部分グラフの同型写像を求める.
FindSubgraphIsomorphism[g1,g2,n]
最高で n 個の部分グラフの同型写像を求める.
FindSubgraphIsomorphism
FindSubgraphIsomorphism[g1,g2]
頂点名を変更することでグラフ g1を部分グラフ g2に写像する部分グラフの同型写像を求める.
FindSubgraphIsomorphism[g1,g2,n]
最高で n 個の部分グラフの同型写像を求める.
詳細
- FindSubgraphIsomorphismは部分グラフマッチングとしても知られている.
- FindSubgraphIsomorphismは,通常,グラフの相似性と部分構造を求めるために使われる.
- FindSubgraphIsomorphism[g1,g2]は連想のリストAssociation[v1->w1,v2->w2,…]を与える.ただし,viは g1の頂点で wiは g2の頂点である.
- FindSubgraphIsomorphismは,同型写像が求まらなければ空リストを与える.
- FindSubgraphIsomorphism[g1,g2,All]はすべての部分グラフの同型写像を与える.
例題
すべて開く すべて閉じる例 (2)
スコープ (7)
指定 (4)
FindSubgraphIsomorphismは無向グラフに使うことができる:
FindSubgraphIsomorphism[[image], [image]]FindSubgraphIsomorphism[[image], [image]]FindSubgraphIsomorphism[[image], [image]]FindSubgraphIsomorphism[[image], [image]]アプリケーション (1)
特性と関係 (2)
グラフと部分グラフが同型写像かどうかをIsomorphicSubgraphQを使って調べる:
{h, g} = {CycleGraph[4], HypercubeGraph[3]}FindSubgraphIsomorphism[h, g]IsomorphicSubgraphQ[h, g]FindIsomorphicSubgraphを使ってグラフと同型の部分グラフを求める:
FindIsomorphicSubgraph[[image], [image]]関連するガイド
テキスト
Wolfram Research (2021), FindSubgraphIsomorphism, Wolfram言語関数, https://reference.wolfram.com/language/ref/FindSubgraphIsomorphism.html.
CMS
Wolfram Language. 2021. "FindSubgraphIsomorphism." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/FindSubgraphIsomorphism.html.
APA
Wolfram Language. (2021). FindSubgraphIsomorphism. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FindSubgraphIsomorphism.html
BibTeX
@misc{reference.wolfram_2026_findsubgraphisomorphism, author="Wolfram Research", title="{FindSubgraphIsomorphism}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/FindSubgraphIsomorphism.html}", note=[Accessed: 15-October-2026]}
BibLaTeX
@online{reference.wolfram_2026_findsubgraphisomorphism, organization={Wolfram Research}, title={FindSubgraphIsomorphism}, year={2021}, url={https://reference.wolfram.com/language/ref/FindSubgraphIsomorphism.html}, note=[Accessed: 15-October-2026]}