Skip to content

Commit

Permalink
Trac #16132: adapting output of FiniteStateMachine.process and __call…
Browse files Browse the repository at this point in the history
…__ to Automaton and Transducer

Currently, there is only {{{.process}}} and {{{.__call__}}} in the
abstract base class {{{FiniteStateMachine}}}. The outputs do not depend
on the actual type (automaton/transducer). The aim of this ticket is to
change this and produce an appropriate output for each type of finite
state machine. When using {{{.__call__}}} in an automaton this is
whether an input was accepted (and not more); a transducer gives the
only the produces output.

(Since there is a change in the output, we give a deprecation warning.)

URL: http://trac.sagemath.org/16132
Reported by: dkrenn
Ticket author(s): Daniel Krenn
Reviewer(s): Clemens Heuberger
  • Loading branch information
Release Manager authored and vbraun committed Apr 19, 2014
2 parents 16c08c4 + afc15e5 commit 9a2dd52
Showing 1 changed file with 357 additions and 64 deletions.
Loading

0 comments on commit 9a2dd52

Please sign in to comment.