rustworkx
rustworkx copied to clipboard
Move more connected components functions to retworkx-core
What is the expected enhancement?
#595 is in the process of moving connected_components
and number_connected_components
from retworkx/src/connectivity/conn_components.rs
to retworkx-core/src/connectivity/conn_components.rs
.
There are a number of other connected component related functions in retworkx/src/connectivity/mod.rs
, such as strongly_connected_components
, is_connected
, and node_connected_component
, that could also be moved over to retworkx-core/src/connectivity
. The function in mod.rs
would then just call the retworkx-core
version, similar to what's done with connected_components
.
Hi @enavarro51, Is this issue still relevant? I would like to help as much as I can.
Sure. Any of the functions in retworkx.src.connectivity.mod.rs
that are not already in
retworkx.retworkx-core.src.connectivity
could be moved in a way similar to the way connected_components
was done. Let me know if you have any questions about it.
Hey @enavarro51 I would like to work on this. I have read and also got the slightest idea of what needs to be done. Also, I'm unable to find the retworkx-core folder.
Hi @SUGARXUST thanks for reaching out. If you want you can have a look at my MR and help with testing and adding more stuff
Sure I would like to help @kris524 please mention the request so that I can see what's going on and what can be done by me.
https://github.com/Qiskit/rustworkx/pull/638