IsSubgraphIsomorphic - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


GraphTheory

  

IsSubgraphIsomorphic

  

determine if a subgraph isomorphism exists

 

Calling Sequence

Parameters

Options

Description

Examples

Compatibility

Calling Sequence

IsSubgraphIsomorphic(G1,G2)

Parameters

G1, G2

-

graphs

Options

• 

isomorphism = truefalse

  

Specifies whether the isomorphism should be returned when it exists. In this case the result is an expression sequence consisting of true and a set of equations specifying a mapping from the vertices of G1 to those of G2.

Description

• 

IsSubgraphIsomorphic(G) accepts either two undirected graphs or two directed graphs as input.  It returns true if G1 is isomorphic to some subgraph of G2.

• 

If the graphs are weighted graphs, the edge weights are ignored.

Examples

An undirected graph example: C6 is isomorphic to a subgraph of K33 but not of K24.

(1)

(2)

(3)

(4)

(5)

(6)

Compatibility

• 

The GraphTheory[IsSubgraphIsomorphic] command was introduced in Maple 2021.

• 

For more information on Maple 2021 changes, see Updates in Maple 2021.

• 

The GraphTheory[IsSubgraphIsomorphic] command was updated in Maple 2022.

• 

The isomorphism option was introduced in Maple 2022.

• 

For more information on Maple 2022 changes, see Updates in Maple 2022.

See Also

IsIsomorphic

 


Download Help Document