specless.strategy.FeedbackStrategy

class specless.strategy.FeedbackStrategy[source]

Bases: Strategy

Base class for all feedback strategy classes

Methods

action

Get the action for the feedback strategy given the state.

reset

Reset the feedback strategy.

action(state: ObsType) ActType[source]

Get the action for the feedback strategy given the state.

Parameters:

state (ObsType) – The state for which to get the action.

Returns:

The action for the feedback strategy.

Return type:

ActType

Raises:

NotImplementedError – If the method is not implemented in a subclass.

reset() None[source]

Reset the feedback strategy.

Raises:

NotImplementedError – If the method is not implemented in a subclass.