benedekrozemberczki / SimGNN

A PyTorch implementation of "SimGNN: A Neural Network Approach to Fast Graph Similarity Computation" (WSDM 2019).
GNU General Public License v3.0
759 stars 147 forks source link

Can this model work for directed graph? #11

Closed sunnyHelen closed 5 years ago

sunnyHelen commented 5 years ago

I mean, I encounter some cases that 1→2 and 2→1 may represent different meanings. So, I want to know if this model can work if this json file has edges [1,2] and [2,1] both. image

benedekrozemberczki commented 5 years ago

You have to change the model fundamentally in the read phase but if you do that it would.