AIToolbox
A library that offers tools for AI problem solving.
|
Go to the documentation of this file. 1 #ifndef AI_TOOLBOX_FACTORED_BANDIT_REUSING_ITERATIVE_LOCAL_SEARCH_HEADER_FILE
2 #define AI_TOOLBOX_FACTORED_BANDIT_REUSING_ITERATIVE_LOCAL_SEARCH_HEADER_FILE
27 using Result = std::tuple<Action, double>;
45 ReusingIterativeLocalSearch(
double resetActionProbability = 0.3,
double randomizeFactorProbability = 0.1,
unsigned trialNum = 10,
bool forceResetAction =
true);
108 double resetActionProbability_;
109 double randomizeFactorProbability_;
111 bool forceResetAction_;
114 Action action_, newAction_;