-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
is_k_edge_connected
for case of k=2 (#7024)
* Fix is_k_edge_connected for case of k=2 Add call to is_connected in addition to has_bridges for k=2, to catch multi-component graphs without bridges, which are not not 2-edge-connected. Test case is a two-component graph without bridges, which should not be 2-edge-connected (or k-edge-connected for any value of k).
- Loading branch information
Showing
2 changed files
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters