mlpy.agents.fsm.FSMState.update

FSMState.update(dt)[source]

Update the state.

Update the state and handle state transitions based on events.

Parameters:

dt : float

The elapsed time (sec)

Returns:

Event :

The transition event.