Qiskit / rustworkx

A high performance Python graph library implemented in Rust.
https://www.rustworkx.org
Apache License 2.0
966 stars 140 forks source link

Move bfs_successors and bfs_predecessors to rustworkx-core #1209

Closed mtreinish closed 1 month ago

mtreinish commented 1 month ago

This commit adds an implementation of the bfs_successors and bfs_predecessors 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. The rustwork-core functions return an iterator of nodes indices and the Python crate side consumes the iterator to build the bfs view these functions previously returned.

coveralls commented 1 month ago

Pull Request Test Coverage Report for Build 9338862658

Details


Totals Coverage Status
Change from base Build 9331728114: 0.04%
Covered Lines: 17350
Relevant Lines: 18098

💛 - Coveralls