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