#13289: Determine if a vertex is a cut vertex
---------------------------------+------------------------------------------
       Reporter:  dcoudert       |         Owner:  jason, ncohen, rlm
           Type:  enhancement    |        Status:  needs_review      
       Priority:  major          |     Milestone:  sage-5.3          
      Component:  graph theory   |    Resolution:                    
       Keywords:                 |   Work issues:                    
Report Upstream:  N/A            |     Reviewers:                    
        Authors:  David Coudert  |     Merged in:                    
   Dependencies:                 |      Stopgaps:                    
---------------------------------+------------------------------------------

Comment (by sluther):

 I found a bug in the directed case.
 {{{
 sage: D = DiGraph()
 sage:
 
D.add_edges(((1,2),(2,1),(2,5),(3,4),(4,3),(4,5),(5,6),(6,5),(5,7),(7,5),(6,7),(7,6)))
 sage: D.is_cut_vertex(5) # Should be False
 True
 sage: D.strongly_connected_components()
 [[1, 2], [3, 4], [5, 6, 7]]
 sage: D.delete_vertex(5)
 sage: D.strongly_connected_components()  # The number of components did
 not increase.
 [[1, 2], [3, 4], [6, 7]]
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13289#comment:19>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to