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

Louvain & Binary Search Random Walk Propagation algorithms crash on some networks #66

Open
beka-zhvania opened this issue Apr 3, 2022 · 6 comments
Labels

Comments

@beka-zhvania
Copy link
Contributor

No description provided.

@MaxKissgen MaxKissgen changed the title Louvain algorithm crushes on some LFR networks Louvain algorithm crashes on some LFR networks Apr 9, 2022
@MaxKissgen
Copy link
Contributor

MaxKissgen commented Apr 9, 2022

Can you maybe provide an example LFR network? We may be able to fix this issue more easily with it

@beka-zhvania
Copy link
Contributor Author

I was trying to find the reason and I think it might not be a bug and instead the problem was LFR graph being directed (default parameter LFR graph crushed). However it does work on some directed graphs, while crashes on others, but I guess since algorithm is not meant for directed graphs, that doesn't matter.

@MaxKissgen
Copy link
Contributor

Hm, I'll leave this issue open once we can really clarify. We should think about actively prohibiting use of algorithms on graphs of a type they are not compatible with

@beka-zhvania beka-zhvania changed the title Louvain algorithm crashes on some LFR networks Louvain & Binary Search Random Walk Propagation algorithms crash on some networks Apr 24, 2022
@beka-zhvania
Copy link
Contributor Author

Seems the issue was not due to being executed on incompatible graphs. It also seems that it's not just Louvain, but also Binary Search Random Walk Propagation algorithm. Both of them crash on (some) Newman networks e.g. generated with externalEdges = 5

@MaxKissgen
Copy link
Contributor

Could you post one of these example networks as a file? Or does it reliably happen with externalEdges = 5?

@beka-zhvania
Copy link
Contributor Author

Most graphs I generate with Newman crash for one or both of these algorithms. Maybe there is some error in the algorithm code. I will try to find it. Here is for example a network on which Binary Search Random Walk Propagation crashes. test_graph.txt

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

No branches or pull requests

2 participants