Opened 6 years ago
Last modified 6 years ago
#12614 new Bugs
Boost graph vf2 isomorphism algo runs for ever for this test case
Reported by: | Owned by: | Jeremiah Willcock | |
---|---|---|---|
Milestone: | To Be Determined | Component: | graph |
Version: | Boost 1.53.0 | Severity: | Problem |
Keywords: | vf2 hang algorithm | Cc: |
Description
Boost graph vf2 isomorphism algo runs for ever for this test case Steps to reproduce:
- Unzip the attached file, you should see three files
- Add the cpp file to your build system
- Compile and execute.
Attachments (2)
Change History (4)
by , 6 years ago
Attachment: | vf2Test.7z added |
---|
comment:1 by , 6 years ago
comment:2 by , 6 years ago
Hi Flavio, Thanks for your comment. Graphs larger than that works fine with acceptable run time. I think it has something to do with the type of graphs. The algorithm keeps backtracking to same vertices after some state. (I have attached a version of test case that doesn't use gtest now) -praveen
Note:
See TracTickets
for help on using tickets.
Hi,
I tried to run your test, but
gtest/gtest.h
is missing. Also, your graphs have |V|=437 vertices. The worst-case time complexity is proportional to |V|!. Might this be the reason it did not (yet) finish?Regards,
Flavio