22 void update(
string arm,
float reward);
BanditOperator(vector< string > arms)
Constructs a BanditOperator object with a vector of arms.
void update(string arm, float reward)
Updates the reward for a specific arm.
string choose()
Chooses an arm based on the given tree and fitness. Should call sample_probs internally.
DummyBandit(vector< string > arms)
std::map< string, float > sample_probs(bool update)
Samples the probabilities of the arms.
DummyBandit(map< string, float > arms_probs)
< nsga2 selection operator for getting the front