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:
is_valid
Postconditions:
The automaton is_letterized
The automaton is_proper
See also:
import vcsn
law = vcsn.context("law_char, b")
a = law.expression("(ab)*+(cd+ef)*").thompson()
a
a.is_valid()
a.is_letterized()
a.is_proper()
r = a.realtime()
r
r.context()
r.is_letterized()
r.is_proper()
a.letterize().proper()