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