#9593: spring layout does not converge on some graphs
----------------------------+-----------------------------------------------
   Reporter:  cwitty        |       Owner:  jason, ncohen, rlm
       Type:  defect        |      Status:  new               
   Priority:  major         |   Milestone:                    
  Component:  graph theory  |    Keywords:                    
     Author:                |    Upstream:  N/A               
   Reviewer:                |      Merged:                    
Work_issues:                |  
----------------------------+-----------------------------------------------
 Try the following in 4.5.2.alpha0 (or after applying #9532):
 {{{
 sage: G = graphs.PetersenGraph()
 sage: set_random_seed(0); G.plot(layout='spring', iterations=10000)
 sage: set_random_seed(0); G.plot(layout='spring', iterations=10001)
 }}}
 I get very different-looking graphs.  (If you go back and try with
 iterations=10000 again, you get the same graph again, showing that #9532
 did make it reproducible, at least.)

 Maybe some constants need tweaking?

 I think this may be causing the problem reported in the first comment on
 #9584.

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