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
Add support for keep_labels in Digraph.strongly_connected_components_digraph #10874
Comments
This comment has been minimized.
This comment has been minimized.
comment:2
What about avoiding to test "keep_labels" twice ? Here is a reviewer patch which does just that. Your patch is good to go, so you can set this ticket to "positive review" if you agree with my modifications, and also if you don't for some reason (please update the "apply" section in this case) Nathann |
Attachment: trac_10874-reviewer.patch.gz |
comment:3
Hi Nathann, Wow, that was a quick review! This patch has been basically ready in the queue since last July; it was time for me to post in on trac :-) Thanks! Replying to @nathanncohen:
That was to avoid having
Positive review it is (assuming of course the patch bot confirms that everything is good; it should). |
comment:4
Please change the commit message of attachment: trac_10874-graph-strongly_connected_componnents-nt.patch to something human-readable (make sure to include the ticket number of the first line). |
This comment has been minimized.
This comment has been minimized.
comment:5
Oops; I need to recheck my workflow; I forgot this way too many times lately. Sorry! While I was at it, I folded the two patches together. No other changes. trac_10874-reviewer.patch can now be deleted from trac. Cheers, |
comment:6
Ah, Nathann, sorry, while looking back to the patch, I could not resist making the setting of the multiedges option more consistent. Please have a quick check. |
Apply only this patch |
comment:8
Attachment: trac_10874-graph-strongly_connected_componnents-nt.patch.gz Good to go ! Nathann |
Merged: sage-4.7.alpha3 |
comment:10
Hi, is this a typo?
Note the missing quotes around |
With keep_labels=True, the method Digraph.strongly_connected_components_digraph keeps the label on edges when contracting strongly connected components, and returns a multi-digraph::
Apply: trac_10874-graph-strongly_connected_componnents-nt.patch
CC: @nathanncohen
Component: graph theory
Keywords: strongly connected components
Author: Nicolas M. Thiéry
Reviewer: Nathann Cohen
Merged: sage-4.7.alpha3
Issue created by migration from https://trac.sagemath.org/ticket/10874
The text was updated successfully, but these errors were encountered: