Cominimize an automaton. Calling aut.cominimize()
is equivalent aut.transpose().minimize().transpose()
.
Arguments:
algo
the algorithm to perform the minimization (see minimization for details).See also:
import vcsn
%%automaton -s a
context = "lal_char(abc), z"
$ -> 0
$ -> 1
0 -> 2 <4>a
1 -> 3 a
2 -> 2 a
3 -> 3 a
2 -> 4 <3>a
3 -> 4 <4>a
4 -> $
a1 = a.cominimize()
a1
a2 = a.transpose().minimize().transpose()
a2
a1 == a2
Although based on two transpositions, the cominimized automaton has the same type as the forward minimization, and does not include the transpose_automaton
decorator.
a1.type()
a2.type()