Kernel: Python 3
automaton.realtime
Compute the realtime automaton, i.e. the equivalent automaton in which transitions are labeled with only letters (as viewed by the labelset), without spontaneous transitions.
Calling realtime is equivalent to calling letterize then proper.
Preconditions:
The automaton
is_valid
Postconditions:
The automaton
is_letterizedThe automaton
is_proper
See also:
Examples
In [1]:
In [2]:
In [3]:
Out[3]:
In [4]:
Out[4]:
True
In [5]:
Out[5]:
False
In [6]:
Out[6]:
False
In [7]:
Out[7]:
In [8]:
Out[8]:
In [9]:
Out[9]:
True
In [10]:
Out[10]:
True
In [11]:
Out[11]: