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

[BUG] random_configuration_model never halt when degree sequence is not graphic #222

Open
etiennedeg opened this issue Feb 7, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@etiennedeg
Copy link
Member

etiennedeg commented Feb 7, 2023

random_configuration_model(3, [2, 0, 0]) never halt.

This is because our implementation of the random configuration model does not allow self loops and multi-edges. In itself, it is already an oddity because it does not respect the uniformity of sampling, but if we keep it this way, we should check that the degree sequence provided is graphic.

@etiennedeg etiennedeg added the bug Something isn't working label Feb 7, 2023
@gdalle gdalle added this to the v1.9 milestone Jun 28, 2023
@gdalle gdalle removed this from the v1.9 milestone Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Status: Todo
Development

No branches or pull requests

2 participants