mlpy.agents.fsm.FSMState¶
-
class
mlpy.agents.fsm.
FSMState
[source]¶ Bases:
mlpy.modules.Module
State base class.
A state of the finite state machine.
Attributes
mid
The module’s unique identifier. name
Name 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.