We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
While using the Boost interface to compute the blocks and cut vertices, the output is wrong if the input is a directed graph.
sage: from sage.graphs.connectivity import blocks_and_cut_vertices sage: rings = graphs.CycleGraph(10) sage: rings.merge_vertices([0, 5]) sage: blocks_and_cut_vertices(rings, algorithm="Tarjan_Boost") ([[0, 1, 4, 2, 3], [0, 6, 9, 7, 8]], [0])
sage: from sage.graphs.connectivity import blocks_and_cut_vertices sage: rings = graphs.CycleGraph(10) sage: rings.merge_vertices([0, 5]) sage: rings = rings.to_directed() sage: blocks_and_cut_vertices(rings, algorithm="Tarjan_Boost") ([[0, 1, 4, 2, 3, 6, 7, 8, 9], [0, 6, 9, 7, 8]], [0, 9, 8, 6, 7])
If the input graph is a directed graph, the blocks and cut vertices are computed on the underlying simple graph.
CC: @dcoudert @dimpase
Component: graph theory
Keywords: connectivity, biconnected components, boost, bc tree, gsoc2018
Author: Meghana M Reddy
Branch/Commit: 7c76517
7c76517
Reviewer: David Coudert
Issue created by migration from https://trac.sagemath.org/ticket/25994
The text was updated successfully, but these errors were encountered:
Branch: u/meghanamreddy/25994_boost_interface
Sorry, something went wrong.
Branch pushed to git repo; I updated commit sha1. New commits:
Fixed the bug and added an example related to the bug.
Commit: 7c76517
Is this patch ready for review ? if so, set it to needs review.
needs review
LGTM.
Changed branch from u/meghanamreddy/25994_boost_interface to 7c76517
522f70a
No branches or pull requests
While using the Boost interface to compute the blocks and cut vertices, the output is wrong if the input is a directed graph.
If the input graph is a directed graph, the blocks and cut vertices are computed on the underlying simple graph.
CC: @dcoudert @dimpase
Component: graph theory
Keywords: connectivity, biconnected components, boost, bc tree, gsoc2018
Author: Meghana M Reddy
Branch/Commit:
7c76517
Reviewer: David Coudert
Issue created by migration from https://trac.sagemath.org/ticket/25994
The text was updated successfully, but these errors were encountered: