Template Class ActionScheduler

Class Documentation

template<typename ValueType>
class ActionScheduler

Public Types

using ActionId = uint64_t

Public Functions

ActionScheduler(std::default_random_engine &random_generator)
ActionId sampleAction(const AvailableActions<ValueType> &actions) const

Sample a single action among the provided ones depending on the sampling strategy (currently only uniform strategy)

Parameters:

current_state – The current state to sample the next action from

Returns:

The index of the next action to take