Kernel: Python 3
automaton.letterize()
Split the transition labels into letters.
Preconditions:
None
Postconditions:
the output transitions are atomic, meaning that they are composed of one letter (as viewed by the labelset). The labelset is adapted to provide this guarantee.
See also:
Examples
In [1]:
In [2]:
In [3]:
In [4]:
Note that here, the transitions are no longer words (law) but instead letters (nullableset<lal_char>).
In [5]:
In [6]:
In [7]:
In [8]:
Here, all three labelsets have been converted to letters or the empty word (nullableset<lal_char>
).