Closed mtreinish closed 1 month ago
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
rustworkx-core/src/generators/random_graph.rs | 2 | 85.03% | ||
<!-- | Total: | 2 | --> |
Totals | |
---|---|
Change from base Build 9331316840: | -0.008% |
Covered Lines: | 17318 |
Relevant Lines: | 18066 |
This commit adds an implementation of the ancestors and descendants functions to the rustworkx-core crate exposing the functions to rust users. The existing implementation in the rustworkx crate is removed and it is updated to call the rustworkx-core functions. These new functions will be more efficient as they're not using dijkstra's algorithm to find a path from nodes now and instead are just doing a BFS. The rustwork-core functions also return an iterator of nodes.