-
-
Notifications
You must be signed in to change notification settings - Fork 481
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
Too many strong articulation points #29958
Comments
comment:1
This is due to strongly connected components of order 2. In the example digraph, we have:
and in the code we have:
Unfortunately I don't remember why we added this... |
Commit: |
comment:2
a possible fix. New commits:
|
Branch: public/graphs/29958_sap |
Author: David Coudert |
comment:3
LGTM. I didn't look into the algorithm. But I can certainly confirm that a graph with 2 vertices does not have strong articulation points. |
Reviewer: Jonathan Kliem |
This comment has been minimized.
This comment has been minimized.
comment:4
Thanks. |
Changed branch from public/graphs/29958_sap to |
This is a doctest from
src/sage/graphs/connectivity.pyx
with a different random seed:An indeed the vertex
10
is inSAP
, but it appears not to be a strong articulation point:Before this ticket, all vertices in strongly connected components of size 2 where returned as strong articulation points. But a graph with 2 vertices always has zero articulation points.
Component: graph theory
Keywords: articulation points, directed graph
Author: David Coudert
Branch/Commit:
07ce116
Reviewer: Jonathan Kliem
Issue created by migration from https://trac.sagemath.org/ticket/29958
The text was updated successfully, but these errors were encountered: