#14099: Adding Method for testing avoidance in posets
------------------------------------------------------+---------------------
       Reporter:  chrisjamesberg                      |         Owner:  rowland 
           Type:  enhancement                         |        Status:  new     
       Priority:  minor                               |     Milestone:  sage-5.7
      Component:  combinatorics                       |    Resolution:          
       Keywords:  posets, days45                      |   Work issues:          
Report Upstream:  N/A                                 |     Reviewers:  saliola 
        Authors:  chrisjamesberg, rowland, ahmorales  |     Merged in:          
   Dependencies:                                      |      Stopgaps:          
------------------------------------------------------+---------------------
Changes (by rowland):

  * keywords:  posets => posets, days45


Comment:

 On the other hand, for larger posets using the graph search does much
 better:

 {{{
 sage: posets = [Posets.RandomPoset(30, .5) for x in range(10)]
 sage: %time len([p for p in posets if test1(p, 3, 1)])
 CPU times: user 20.69 s, sys: 0.00 s, total: 20.69 s
 Wall time: 20.69 s
 6
 sage: %time len([p for p in posets if test2(p, 3, 1)])
 CPU times: user 0.19 s, sys: 0.00 s, total: 0.19 s
 Wall time: 0.19 s
 6
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14099#comment:10>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to