6 #ifndef POLICYSTOREIMP_HPP_INCLUDE
7 #define POLICYSTOREIMP_HPP_INCLUDE
32 std::vector<double>
get_best(
const std::string &agent_name,
33 const std::string &profile_name)
const override;
35 void set_best(
const std::string &agent_name,
36 const std::string &profile_name,
37 const std::vector<double> &policy)
override;
39 void set_default(
const std::string &agent_name,
const std::vector<double> &policy)
override;
42 struct sqlite3 *m_database;
Definition: PolicyStore.hpp:19
Definition: PolicyStoreImp.hpp:22
void set_best(const std::string &agent_name, const std::string &profile_name, const std::vector< double > &policy) override
Set the record for the best policy for a profile with an agent.
Definition: PolicyStoreImp.cpp:271
void set_default(const std::string &agent_name, const std::vector< double > &policy) override
Set the default policy to use with an agent.
Definition: PolicyStoreImp.cpp:317
std::vector< double > get_best(const std::string &agent_name, const std::string &profile_name) const override
Get the best known policy for a given agent/profile pair.
Definition: PolicyStoreImp.cpp:247
PolicyStoreImp(const PolicyStoreImp &other)=delete
virtual ~PolicyStoreImp()
Definition: PolicyStoreImp.cpp:238
PolicyStoreImp & operator=(const PolicyStoreImp &other)=delete
Definition: Accumulator.cpp:12