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

Time complexity for johnson's algorithm #266

Open
klauspa opened this issue Apr 9, 2020 · 0 comments
Open

Time complexity for johnson's algorithm #266

klauspa opened this issue Apr 9, 2020 · 0 comments

Comments

@klauspa
Copy link

klauspa commented Apr 9, 2020

Hello, you mentioned that the complexity of johnson's algorithm is O(E+V)(C+1)
I test it with 5000 edges in a graph and 50 cycles, it runs fast. But when I try to test it with 300000 edges with 150000 cycles in there, the code just crashed. So when the graph gets pretty large, johnson's algorithm doesn't work?

Thanks!

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