We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given the following automaton
aut = Automaton({'p':[('p','b'),('q','a')], 'q':[('r','a'), ('r','b')], 'r':[('p','a'),('p','b')]}, initial_states=['p'], final_states=['r'])
and its kleene star
_kleene = Automaton({'i':[('p','b'),('q','a')], 'p':[('p','b'),('q','a')], 'q':[('r','a'), ('r','b'), ('i','a'), ('i','b')], 'r':[('p','a'),('p','b')]}, initial_states=['i'], final_states=['i'])
the following code
_kleene.is_equivalent(aut.kleene_star())
outputs False, which it shouldn't. The automaton produced by aut.kleene_star() differs from aut only in that p becomes also final state.
aut.kleene_star()
aut
p
Component: combinatorics
Keywords: finite state machines, automata, kleene star
Issue created by migration from https://trac.sagemath.org/ticket/22858
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Given the following automaton
and its kleene star
the following code
outputs False, which it shouldn't. The automaton produced by
aut.kleene_star()
differs fromaut
only in thatp
becomes also final state.Component: combinatorics
Keywords: finite state machines, automata, kleene star
Issue created by migration from https://trac.sagemath.org/ticket/22858
The text was updated successfully, but these errors were encountered: