Kernel: Python 3
automaton.strip
Remove all the decorations from an automaton, i.e., remove state names.
Examples
In [1]:
In [2]:
Out[2]:
Stripping a plain automaton, or stripping twice, is allowed.
In [3]:
Out[3]:
In [4]:
Out[4]:
Operations like determinize introduce decorations:
In [5]:
Out[5]:
In [6]:
Out[6]:
In [7]:
Out[7]:
'determinized_automaton<mutable_automaton<context<letterset<char_letters>, b>>, vcsn::wet_kind_t::bitset, false>'
In [8]:
Out[8]:
'mutable_automaton<context<letterset<char_letters>, b>>'
The derived_term of an expression also uses decorations:
In [9]:
Out[9]:
In [10]:
Out[10]: