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
automaton: iterator over words of language #15267
Comments
This comment has been minimized.
This comment has been minimized.
Changed keywords from automata, finite state machines, language, iterator to automata, finite state machines, language, iterator, automatic sequences |
Branch: u/dkrenn/fsm/languages |
Changed keywords from automata, finite state machines, language, iterator, automatic sequences to automata, finite state machines, language, iterator, automatic sequences, sd66 |
Last 10 new commits:
|
Commit: |
comment:10
Merge #18118 to avoid merge conflict. |
Author: Daniel Krenn |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Changed branch from u/dkrenn/fsm/languages to u/cheuberg/fsm/languages |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:14
|
Reviewer: Clemens Heuberger |
Changed branch from u/cheuberg/fsm/languages to u/dkrenn/fsm/languages |
comment:18
Replying to @cheuberg:
Done; looks ok.
Renamed and rewritten.
Explained.
Done. New commits:
|
Changed branch from u/dkrenn/fsm/languages to u/cheuberg/fsm/languages |
comment:20
Modifications are fine, I add a minor commit. New commits:
|
Changed branch from u/cheuberg/fsm/languages to |
Add a method
language(self, n, initial_state)
toFiniteStateMachine
which returns an iterator over all words of length n recognized by the automaton/finite state machine. Possibly, usesage.combinat.words
.See also #15078 comment:10.
Depends on #18114
Depends on #18118
CC: @cheuberg @sagetrac-skropf
Component: finite state machines
Keywords: automata, finite state machines, language, iterator, automatic sequences, sd66
Author: Daniel Krenn
Branch/Commit:
12180ef
Reviewer: Clemens Heuberger
Issue created by migration from https://trac.sagemath.org/ticket/15267
The text was updated successfully, but these errors were encountered: