Skip to content

Molloy Reed model not allways correct #112

Open
@hackl

Description

The Molloy Reed model does not always give the correct network back.
This leads to an unstable test of the mean_degree which is currently using a Molloy Reed model for testing.

def test_mean_degree():
    """Test the mean degree calculation."""
    net = pp.generators.Molloy_Reed([2]*500)
    assert sum(net.degrees().values()) == 1000

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions