Replies: 1 comment
-
Yeah, we don't have a method for exact subgraph matching since PyG is a GNN/deep learning library, not a graph algorithm library. For now, you have to rely on |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Suppose I have two batches of graphs$(G_1,...,G_n)$ and $(S_1,...,S_n)$ . I want to check whether $S_i$ is a subgraph of $G_i$ for each $i=1,...,n$ . Is there a method that parallelizes this over the batch? My naive attempt would have been a for loop and using VF2 from Networkx (https://networkx.org/documentation/stable/reference/algorithms/isomorphism.vf2.html) to check for the subgraph in each iteration.
Eventually I would also really like to be able to extract multiple subgraph matchings. Is someone by any chance also familiar with a method that allows to check and extract multiple subgraph matchings? As far as I understand, VF2 in networkx only returns one matching. How can I get a second potential matching? Also as far as I understand pytorch_geometric does not have an implementation of subgraph matching, correct?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions