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

Class Feedback

SM --+
     |
    Feedback
Known Subclasses:

Take the output of m and feed it back to its input. Resulting machine has no input. The output of m must not depend on its input without a delay.

Instance Methods
 
__init__(self, m, name=None)
 
startState(self)
By default, startState is none
 
getNextValues(self, state, inp)
Ignores input.
 
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

Class Variables

Inherited from SM: legalInputs, name

Instance Variables

Inherited from SM: state

Method Details

startState(self)

 

By default, startState is none

Overrides: startState

getNextValues(self, state, inp)

 

Ignores input.

Overrides: SM.getNextValues

done(self, state)

 

By default, machines don't terminate

Overrides: SM.done
(inherited documentation)

printDebugInfo(self, depth, state, nextState, inp, out, debugParams)

 

Default method for printing out all of the debugging information for a primitive machine.

Overrides: SM.printDebugInfo
(inherited documentation)