Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Found a counter example in which this algorithm doesn't work #1

Open
TiagoCavalcante opened this issue Aug 15, 2024 · 0 comments
Open

Comments

@TiagoCavalcante
Copy link
Owner

Today I have found an example of a relatively small graph in which this algorithm can't find a path with a fixed length, even though it exists.

It seems like the algorithm doesn't handle cycles very well.

It still is a great heuristic, as it handles bigger graphs really well. I have tested it in millions of random graphs with at least 1000 vertices and density 0.1 and it worked every single time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant