Given a condition (function from inps to boolean) and two state
machines, make a new machine. The condition is evaluated at start time,
and one machine is selected, permanently, for execution.
Rarely useful.
|
__init__(self,
condition,
sm1,
sm2,
name=None) |
|
|
|
getFirstRealState(self,
inp) |
|
|
|
|
|
done(self,
state)
By default, machines don't terminate |
|
|
|
printDebugInfo(self,
depth,
state,
nextState,
inp,
out,
debugParams)
Default method for printing out all of the debugging information for
a primitive machine. |
|
|
Inherited from SM :
check ,
doTraceTasks ,
getStartState ,
guaranteeName ,
isDone ,
run ,
start ,
step ,
transduce ,
transduceF
|