#16143: finite_state_machine: Add an example on the Gray code into the
documentation
-------------------------------------+-------------------------------------
       Reporter:  cheuberg           |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  minor              |    Milestone:  sage-6.2
      Component:  combinatorics      |   Resolution:
       Keywords:                     |    Merged in:
  finite_state_machine               |    Reviewers:  Daniel Krenn
        Authors:  Clemens            |  Work issues:
  Heuberger, Daniel Krenn            |       Commit:
Report Upstream:  N/A                |  1efa597519da1fa32436e0e1e2dddf609cca391b
         Branch:                     |     Stopgaps:
  u/dkrenn/fsm/example_gray_code     |
   Dependencies:  #16141, #16142     |
-------------------------------------+-------------------------------------
Changes (by {'newvalue': u'Clemens Heuberger, Daniel Krenn', 'oldvalue': 
u'Clemens Heuberger'}):

 * cc: dkrenn (removed)
 * commit:  6145b1f679ef60d78f888df417ed1591880c3d10 =>
     1efa597519da1fa32436e0e1e2dddf609cca391b
 * reviewer:   => Daniel Krenn
 * branch:  u/cheuberg/fsm/example_gray_code =>
             u/dkrenn/fsm/example_gray_code
 * author:  Clemens Heuberger => Clemens Heuberger, Daniel Krenn


Comment:

 During the review I realized that the Gray-code transducer didn't have any
 final states. I've corrected this. I added a doctest to print the Gray
 code of the first 10 non-negative integers.
 Please review my changes.
 ----
 Last 10 new commits:
 
||[http://git.sagemath.org/sage.git/commit/?id=9029a07855acdf28ebc3a058ac0f206a238526f9
 9029a07]||{{{Fixed doctest for operator}}}||
 
||[http://git.sagemath.org/sage.git/commit/?id=6fed2780301dd9bbee3f26315968a3f2cac54a1a
 6fed278]||{{{Merge branch 'fsm/operator_transducers' into
 fsm/example_gray_code}}}||
 
||[http://git.sagemath.org/sage.git/commit/?id=f7b3a3586775e9422dba1ae803d2a9e484454d13
 f7b3a35]||{{{Gray code example modified and prepackaged transducer}}}||
 
||[http://git.sagemath.org/sage.git/commit/?id=7a907ac410fc61e79d31af761f51b54fc959e728
 7a907ac]||{{{minor corrections}}}||
 
||[http://git.sagemath.org/sage.git/commit/?id=4a53b0968fc2130b075533ad1c4aa1de9fdcf9e7
 4a53b09]||{{{Merge branch '#16132' into
 fsm/count_subblock_occurrences}}}||
 
||[http://git.sagemath.org/sage.git/commit/?id=5d6576790363a5420da97d892020de617054dd71
 5d65767]||{{{Edit doctests due to #16132 change.}}}||
 
||[http://git.sagemath.org/sage.git/commit/?id=e1bd1df10377ada8e64f60e34656fe50bdc974c8
 e1bd1df]||{{{Merge branch 'fsm/count_subblock_occurrences' into
 fsm/operator_transducers}}}||
 
||[http://git.sagemath.org/sage.git/commit/?id=3110f9d53c199521168ed8b2df193c94ac3e8c88
 3110f9d]||{{{Edit doctests due to #16132 change.}}}||
 
||[http://git.sagemath.org/sage.git/commit/?id=6145b1f679ef60d78f888df417ed1591880c3d10
 6145b1f]||{{{Merge branch 'fsm/operator_transducers' into
 fsm/example_gray_code}}}||
 
||[http://git.sagemath.org/sage.git/commit/?id=1efa597519da1fa32436e0e1e2dddf609cca391b
 1efa597]||{{{added final_states to Gray-code transducer, improved
 docstring}}}||

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