AIToolbox
A library that offers tools for AI problem solving.
|
Go to the documentation of this file. 1 #ifndef AI_TOOLBOX_FACTORED_BANDIT_MINING_PROBLEM_HEADER_FILE
2 #define AI_TOOLBOX_FACTORED_BANDIT_MINING_PROBLEM_HEADER_FILE
63 MiningBandit(
Action A, std::vector<unsigned> workersPerVillage, std::vector<double> productivityPerMine,
bool normalizeToOne =
true);
102 const std::vector<PartialKeys> &
getGroups()
const;
140 void computeProbabilities(
const Action & a)
const;
143 std::vector<unsigned> workersPerVillage_;
144 std::vector<double> productivityPerMine_;
148 bool normalizeToOne_;
150 std::vector<PartialKeys> villagesPerMine_;
178 std::tuple<Action, std::vector<unsigned>, std::vector<double>>
makeMiningParameters(
unsigned seed);