Closed lichengzhang1 closed 10 months ago
Thank you for your message! I corrected the sentence in the README file (I meant "longest cycles" instead of "hamiltonian cycles").
Moreover, the algorithm described in ""Improved asymptotic upper bounds for the minimum number of pairwise distinct longest cycles in regular graphs" can also be used to list all longest cycles. For your convenience, I have just added a program "enumerateLongestCycles.cpp" that supports this function and I have updated the README to indicate how to use the program.
Thank you. May I ask which version of GCC you are using? After compiling with my GCC 13, I encountered a Segmentation Fault error when running the executable file.
I know. I just need to remove the -O3 flag.
This program is excellent, but sometimes we not only need counting but also want to list some or all longest cycles. Can this program provide such an output? By the way, there's a sentence in the README.md that confuses me:
This indicates that the graph is non-hamiltonian and has 4 pairwise distinct hamiltonian cycles.