mlpy.agents.fsm.FSMState¶
-
class
mlpy.agents.fsm.FSMState[source]¶ Bases:
mlpy.modules.ModuleState base class.
A state of the finite state machine.
Attributes
midThe module’s unique identifier. nameName of the state. Methods
enter(t, *args, **kwargs)State initialization. exit()Perform cleanup tasks. load(filename)Load the state of the module from file. reset(t, **kwargs)Reset the module. save(filename)Save the current state of the module to file. update(dt)Update the state.