10 #ifndef TABULAR_ACTION_VALUES_H 11 #define TABULAR_ACTION_VALUES_H 27 std::vector<std::vector<double>>
randomly(
size_t S,
size_t A, time_t seed,
double lowerBound,
double upperBound);
28 std::vector<std::vector<double>>
uniformly(
size_t S,
size_t A,
double initialActionValues);
29 std::vector<std::vector<double>>
fromFile(
size_t S,
size_t A, std::string
filename);
35 void init(std::shared_ptr<Context> context);
std::vector< std::vector< double > > fromFile(size_t S, size_t A, std::string filename)
void init(std::shared_ptr< Context > context)
void updateValue(state_t state, action_t action, double value)
double getValue(state_t state, action_t action) override
std::vector< std::vector< double > > randomly(size_t S, size_t A, time_t seed, double lowerBound, double upperBound)
std::vector< std::vector< double > > uniformly(size_t S, size_t A, double initialActionValues)
std::vector< double > getValues(state_t state) override
std::vector< std::vector< double > > actionValues
TabularActionValues(std::shared_ptr< Context > context)