#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 | 9376b188d40e1e7d98a6e37efd4cb95a1a108b67
/iter_process-simple | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by dkrenn):
Replying to [comment:4 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...
> }}}
Included. Thanks.
--
Ticket URL: <http://trac.sagemath.org/ticket/18118#comment:6>
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.