./bin/vf3 ./test/bvg1.sub.grf ./test/bvg1.grf -s
0,0:19,1:12,2:17,3:
0,0:19,1:12,2:5,3:
0,0:2,1:12,2:17,3:
0,0:2,1:12,2:5,3:
0,0:2,1:5,2:12,3:
0,0:2,1:5,2:17,3:
13,0:9,1:14,2:16,3:
13,0:9,1:16,2:14,3:
5,0:0,1:7,2:19,3:
6,0:18,1:11,2:9,3:
6,0:18,1:9,2:11,3:
7,0:5,1:11,2:18,3:
7,0:5,1:18,2:11,3:
What kinds of subgraphs is VF3 trying to match? I thought it was "find a set of nodes in target s.t. the subgraph they induce is isomorphic to query" -- but the above example suggests it may be something different.
Hi --
Running the example command
gives you the following matches
However, both edges
0 17and17 0exist in thetargetgraph, so the subgraph induced by0 12 17 19has four edges:What kinds of subgraphs is VF3 trying to match? I thought it was "find a set of nodes in
targets.t. the subgraph they induce is isomorphic toquery" -- but the above example suggests it may be something different.As another example -- the subgraph induced by
0,0:19,1:12,2:5,3:is not isomorphic toquery-- there's an edge5 19intargetthat isn't inquery.(FWIW -- the VF2 implementation in
networkxdoes not return either of the above examples, which IMO is the expected behavior.)Thanks!