rustworkx icon indicating copy to clipboard operation
rustworkx copied to clipboard

Add configuration model

Open tapanih opened this issue 2 years ago • 4 comments

Added a possibility to generate a random graph using a configuration model. The result is a random graph with a given degree sequence. The Rust library can additionally generate degree sequences from any Distribution.

tapanih avatar Jan 28 '23 13:01 tapanih

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jan 28 '23 13:01 CLAassistant

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Jan 28 '23 13:01 CLAassistant

Pull Request Test Coverage Report for Build 4032314256

  • 91 of 122 (74.59%) changed or added relevant lines in 3 files are covered.
  • 4 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-0.2%) to 96.802%

Changes Missing Coverage Covered Lines Changed/Added Lines %
rustworkx-core/src/generators/configuration_model.rs 56 87 64.37%
<!-- Total: 91 122
Files with Coverage Reduction New Missed Lines %
src/shortest_path/all_pairs_bellman_ford.rs 2 98.88%
src/shortest_path/all_pairs_dijkstra.rs 2 98.54%
<!-- Total: 4
Totals Coverage Status
Change from base Build 4028447013: -0.2%
Covered Lines: 13835
Relevant Lines: 14292

💛 - Coveralls

coveralls avatar Jan 28 '23 15:01 coveralls

Also, you'll have to update api.rst to include the new function you added

IvanIsCoding avatar Jan 29 '23 23:01 IvanIsCoding