#18118: transducer: convenience option for process words iterativly (and showing
output)
-------------------------------------+-------------------------------------
       Reporter:  dkrenn             |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.6
      Component:  finite state       |   Resolution:
  machines                           |    Merged in:
       Keywords:  sd66               |    Reviewers:
        Authors:  Daniel Krenn       |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:  u/dkrenn/fsm       |  9bf4d02cf240a0a561b20be7a1c1ecdf04627d1a
  /iter_process-simple               |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by vdelecroix):

 Even better example
 {{{
 sage: inverter = Transducer({'A': [('A', 0, 1), ('A', 1, 0)]},
 ....:                initial_states=['A'], final_states=['A'])
 sage: it = inverter.iter_process(
 ....: words.FibonacciWord(), iterator_type='simple')
 sage: u = Words([0,1])(it)
 sage: u
 word: 1011010110110101101011011010110110101101...
 }}}

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