Turn an automaton into a standard automaton.
Preconditions:
Postconditions:
result.is_standard()
See also:
There is a single initial state.
import vcsn
b = vcsn.context('lal_char, z')
a = b.expression('a').standard() | b.expression('b').standard()
a
a = a.standard()
a
The initial state has 1 as (initial) weight.
%%automaton -s a
context = "lal_char, z"
$ -> 0 <2>
0 -> 1 a
0 -> 2 b
1 -> $
2 -> $
a.standard()
There is no incoming transition on the initial state.
%%automaton -s a
context = "lal_char, z"
$ -> 0 <2>
0 -> $ <2>
0 -> 1 a
1 -> 0 b
a.standard()