Module sm :: Class ParallelAdd
[frames] | no frames]

Class ParallelAdd

  SM --+    
       |    
Parallel --+
           |
          ParallelAdd

Like Parallel, but output is the sum of the outputs of the two machines.

Instance Methods
 
getNextValues(self, state, inp)
Default version of this method.

Inherited from Parallel: __init__, done, printDebugInfo, startState

Inherited from SM: check, doTraceTasks, getStartState, guaranteeName, isDone, run, start, step, transduce, transduceF

Class Variables

Inherited from SM: legalInputs, name

Instance Variables

Inherited from SM: state

Method Details

getNextValues(self, state, inp)

 

Default version of this method. If a subclass only defines getNextState, then we assume that the output of the machine is the same as its next state.

Overrides: SM.getNextValues
(inherited documentation)