automaton.type

The implementation type of an automaton, as a string.

See also:

Examples


In [1]:
import vcsn
a = vcsn.Q.expression('(<1/2>a*+<1/3>b*)*').automaton()
a.type()


Out[1]:
'mutable_automaton<context<letterset<char_letters>, q>>'

In [2]:
a.transpose().type()


Out[2]:
'transpose_automaton<mutable_automaton<context<letterset<char_letters>, q>>>'

In [3]:
a.determinize().type()


Out[3]:
'detweighted_automaton<mutable_automaton<context<letterset<char_letters>, q>>>'