> I’m experimenting with Graph.count_subisomorphisms_vf2 to see if it will do > what I need it to do. I’m starting with a very simple call (assume g1 and g2 > are instances of igraph.Graph): > > countMatches = g1. count_subisomorphisms_vf2(g2) > > When I execute this I get the exception “argument 1 must be igraph.Graph, not > instance”. This seems to work for me; e.g.:
>>> g1 = Graph.GRG(100, 0.2) >>> g2 = Graph.Ring(4) >>> g1.count_subisomorphisms_vf2(g2) 81472 What does type(g1) and type(g2) say? Best, Tamas _______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
