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)MDPState initialization. exit()Perform cleanup tasks. init()Initialize the module. load(filename)Load the state of the module from file. save(filename)Save the current state of the module to file. update(dt)Update the state.