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) 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.