0

Given a big multiway tree A and a small multiway tree B, how can we know if B is a sub-structue of A

irasin
  • 145
  • 6

1 Answers1

0

Finally, I found a python package networkx which can solve my problem

gm = isomorphism.DiGraphMatcher(graph,subgraph, node_match)
gm.subgraph_is_isomorphic()
irasin
  • 145
  • 6