ISMAGS.is_isomorphic#
- ISMAGS.is_isomorphic(symmetry=False)[source]#
Returns True if the class input graphs are isomorphic, False otherwise.
Isomorphic means there is a mapping of nodes from
graphtosubgraphthat maintains connectivity and node/edge matchings. Note:symmetryis only used for testing. We only find 1 isomorphism so there is no gain from looking for symmetries.- Returns:
- bool