NetworkX

Previous topic

networkx.algorithms.isomorphism.is_isomorphic

Next topic

networkx.algorithms.isomorphism.fast_could_be_isomorphic

networkx.algorithms.isomorphism.could_be_isomorphic

networkx.algorithms.isomorphism.could_be_isomorphic(G1, G2)

Returns False if graphs are definitely not isomorphic. True does NOT guarantee isomorphism.

Parameters :

G1, G2 : NetworkX graph instances

The two graphs G1 and G2 must be the same type.

Notes

Checks for matching degree, triangle, and number of cliques sequences.