specless.strategy.CombinedStrategy

class specless.strategy.CombinedStrategy(strategies: List[Strategy])[source]

Bases: Strategy

Combined strategy class. It takes an action for each strategy given an observed state.

Methods

action

Get the action for each strategy in the combined strategy given the state.

reset

Reset the combined strategy by resetting each strategy in the list.

action(state: ObsType) ActType[source]

Get the action for each strategy in the combined strategy given the state.

Parameters:

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

Returns:

The list of actions for the combined strategy.

Return type:

ActType

reset() None[source]

Reset the combined strategy by resetting each strategy in the list.