rustworkx
rustworkx copied to clipboard
Add configuration model
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.
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.
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 | |
|---|---|
| Change from base Build 4028447013: | -0.2% |
| Covered Lines: | 13835 |
| Relevant Lines: | 14292 |
💛 - Coveralls
Also, you'll have to update api.rst to include the new function you added