jacquesfize / GMatch4py

A graph matching library for Python
MIT License
192 stars 41 forks source link

HED returns 0 #8

Closed computerquest closed 5 years ago

computerquest commented 5 years ago

I have a bunch of graphs I know to be unique, and when I calculate GED using GraphEditDistance it returns non-zero values as expected. However when using HED instead of GraphEditDistance, it outputs only 0.

ged = gm.HED(1, 1, 1, 1) 
result = ged.compare(all_graph, None)
print(*result)

Is my code wrong or is there an issue with the library?

jacquesfize commented 5 years ago

Hi @computerquest,

It is weird... can you give me an example of the graphs you're using ?

Bests Jacques