Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate Johnson's algorithm to rustworkx-core #1318

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
features:
- |
Added a new function, ``johnson_simple_cycles``, to the ``rustworkx-core``
crate. This function implements `Johnson's algorithm <https://doi.org/10.1137/0204007>`__ for finding all
elementary cycles in a directed graph.
- |
Added a new trait ``EdgeFindable`` to find an ``EdgeIndex`` from a graph
given a pair of node indices.
- |
Added a new trait ``EdgeRemovable`` to remove an edge from a graph by
its ``EdgeIndex``.
Loading