#18179: Random generation of Ordered rooted trees
-------------------------------------+-------------------------------------
       Reporter:  g.chatel           |        Owner:
           Type:  enhancement        |       Status:  new
       Priority:  major              |    Milestone:  sage-6.6
      Component:  combinatorics      |   Resolution:
       Keywords:  ordered trees,     |    Merged in:
  combinatorics, random generation,  |    Reviewers:
  sd67                               |  Work issues:
        Authors:  Grégory Châtel     |       Commit:
Report Upstream:  N/A                |  88d6199fe0ff88eb4fbe5ee9df480a690dec2262
         Branch:                     |     Stopgaps:
  u/g.chatel/random_generation_of_ordered_rooted_trees|
   Dependencies:                     |
-------------------------------------+-------------------------------------
Changes (by g.chatel):

 * keywords:  ordered trees, combinatorics, random generation => ordered
     trees, combinatorics, random generation, sd67
 * commit:   => 88d6199fe0ff88eb4fbe5ee9df480a690dec2262


Old description:



New description:

 Adding the random_element method in the {{{OrderedTrees}}} class.

 This method uses a bijection between ordered trees of size {{{n}}} and
 Dyck words of size {{{n - 1}}}.

--

Comment:

 New commits:
 
||[http://git.sagemath.org/sage.git/commit/?id=88d6199fe0ff88eb4fbe5ee9df480a690dec2262
 88d6199]||{{{Writing a random_element method for the OrderedTrees
 class.}}}||

--
Ticket URL: <http://trac.sagemath.org/ticket/18179#comment:4>
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to