#12933: Speedup in DiGraph.stronly_connected_components_digraph
----------------------------+-----------------------------------------------
   Reporter:  ncohen        |             Owner:  jason, ncohen, rlm
       Type:  enhancement   |            Status:  new               
   Priority:  major         |         Milestone:  sage-5.1          
  Component:  graph theory  |          Keywords:                    
Work issues:                |   Report Upstream:  N/A               
  Reviewers:                |           Authors:                    
  Merged in:                |      Dependencies:                    
   Stopgaps:                |  
----------------------------+-----------------------------------------------
 Let it be said that I hate vertex labels.

 Before:

 {{{
 sage: g = digraphs.RandomDirectedGNP(2000,.2)
 sage: g.strongly_connected_components_digraph()
 Exception: The user died of old age
 }}}

 After :
 {{{
 sage: time g.strongly_connected_components_digraph()
 Digraph on 1 vertex
 Time: CPU 2.78 s, Wall: 2.79 s
 }}}

 Which is already far, far too much. And if it is still slow it is -- of
 course -- only because of labels.

 Nathann

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12933>
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