-
Notifications
You must be signed in to change notification settings - Fork 122
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
This is a repost of this issue, I think it deserves discussion on whether we should return edges instead of vertices.
Summary :
start=[1,1,2,2,2,3,4,4,5,5,7,7,8,8,9,9,10,10,12,12,1,2,3]
destination=[2,4,4,5,3,5,7,8,7,8,9,10,9,10,11,12,12,13,13,11,11,12,13]
graph_s=SimpleWeightedGraph(start,destination,collect(1:23))
bi_components= biconnected_components(graph_s)graph_s has 23 edges, but only 19 are returned in the unique biconnected component.
etienneINSA : The error is here : the edge is added only if
state.low[v] > state.depth[w], whereas it should be always added to the stack. I can make a PR, but I have an interrogation: Why do we return the biconnected components by their edges? As the subgraphs are induced, this is more easily defined by the vertices. Is there a good reason to do that, or would it be too breaking to change this behavior?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working