FindIsomorphicSubgraph
FindIsomorphicSubgraph[g1,g2]
finds a subgraph of g1 that is isomorphic to g2.
FindIsomorphicSubgraph[g1,g2,n]
finds at most n subgraphs.
Details and Options
- FindIsomorphicSubgraph is also known as subgraph matching.
- FindIsomorphicSubgraph is typically used to find similar substructures in graphs.
- FindIsomorphicSubgraph gives a list of subgraphs of g1 that are equal to g2 after renaming vertices.
- FindIsomorphicSubgraph gives an empty list if no subgraph can be found.
- FindIsomorphicSubgraph[g1,g2,All] gives all the subgraphs of g1 that are isomorphic to g2.
Examples
open allclose allBasic Examples (2)
Scope (7)
Specification (4)
FindIsomorphicSubgraph works with undirected graphs:
Applications (2)
Properties & Relations (2)
Test whether a graph and a subgraph are isomorphic using IsomorphicSubgraphQ:
Use FindSubgraphIsomorphism to find a subgraph isomorphism:
Text
Wolfram Research (2021), FindIsomorphicSubgraph, Wolfram Language function, https://reference.wolfram.com/language/ref/FindIsomorphicSubgraph.html.
CMS
Wolfram Language. 2021. "FindIsomorphicSubgraph." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/FindIsomorphicSubgraph.html.
APA
Wolfram Language. (2021). FindIsomorphicSubgraph. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FindIsomorphicSubgraph.html