-
-
Notifications
You must be signed in to change notification settings - Fork 528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adapting output of FiniteStateMachine.process and __call__ to Automaton and Transducer #16132
Comments
Author: Daniel Krenn |
Commit: |
Last 10 new commits:
|
Branch: u/dkrenn/fsm/process_output_new |
This comment has been minimized.
This comment has been minimized.
Changed branch from u/dkrenn/fsm/process_output_new to u/cheuberg/ticket/16132 |
Reviewer: Clemens Heuberger |
Changed branch from u/cheuberg/ticket/16132 to u/dkrenn/ticket/16132 |
comment:7
Cross-reviewed your changes; corrected one whitespaceerror. Feel free to set its status to positive_review. Last 10 new commits:
|
comment:9
Does not merge on beta8. |
comment:11
Is now working on beta8. Please review changes. Last 10 new commits:
|
Changed branch from u/dkrenn/ticket/16132 to u/dkrenn/fsm_process_output_new-on-beta8 |
Changed branch from u/dkrenn/fsm_process_output_new-on-beta8 to u/cheuberg/fsm_process_output_new-on-beta8 |
comment:13
Reviewed the above merge with develop, merge is fine, doctests pass. Replaced two raise E, V by raise E(V) in the spirit of #15990 which had been merged previously. |
Changed branch from u/cheuberg/fsm_process_output_new-on-beta8 to |
Currently, there is only
.process
and.__call__
in the abstract base classFiniteStateMachine
. 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.)
Depends on #16128
Depends on #16061
Depends on #15990
CC: @cheuberg @sagetrac-skropf
Component: combinatorics
Keywords: finite state machine, process, output
Author: Daniel Krenn
Branch/Commit:
afc15e5
Reviewer: Clemens Heuberger
Issue created by migration from https://trac.sagemath.org/ticket/16132
The text was updated successfully, but these errors were encountered: