#include <config.h>
Public Member Functions | |
| Cfg () | |
| Binds items to variables. | |
| void | loadFromFile (string fn) |
| Parses the sections and sends them to appropriate loaders. | |
| void | loadFromSection (string content) |
| Section loader for cfg class. | |
| bool | checkConfiguration () |
| Checks whether every item has been set. | |
| bool | localPlayout () |
| bool | useBestEval () |
| bool | extensionsInEval () |
| bool | uct_tt () |
| int | vv () |
| bool | ucbTuned () |
| bool | dynamicExploration () |
| bool | childrenCache () |
| bool | knowledgeInTree () |
| bool | uctRelativeUpdate () |
| bool | historyHeuristic () |
| float | exploreRate () |
| int | playoutLen () |
| int | matureLevel () |
| float | tcMoveDefault () |
| bool | exactPlayoutValue () |
| bool | knowledgeInPlayout () |
| float | moveAdvisor () |
| float | activeTrapping () |
| bool | playoutByMoves () |
| uint | knowledgeTournamentSize () |
| int | searchThreadsNum () |
| string | evalCfg () |
| EvaluationValues * | evaluationValues () |
| StepKnowledgeValues * | stepKnowledgeValues () |
Private Attributes | |
| CfgItemList | items_ |
| bool | localPlayout_ |
| Locality in playout switch. | |
| bool | useBestEval_ |
| Is top evaluation function used. | |
| bool | extensionsInEval_ |
| Search extensions in evaluation. | |
| bool | uct_tt_ |
| Uct transpotion tables. | |
| int | vv_ |
| Virtual visits value. | |
| bool | ucbTuned_ |
| Use ucb tuned formula. | |
| bool | dynamicExploration_ |
| Dynamic exploration rate. | |
| bool | childrenCache_ |
| Children caching for perfomance boost. | |
| bool | knowledgeInTree_ |
| Use knowledge in uct tree. | |
| bool | playoutByMoves_ |
| In playout go by moves or steps. | |
| bool | uctRelativeUpdate_ |
| Relative update in playout. | |
| bool | historyHeuristic_ |
| Use tw steps as history heuristic. | |
| float | exploreRate_ |
| Uct explore rate. | |
| int | playoutLen_ |
| Lenght of playout before evaluation. | |
| int | matureLevel_ |
| Number of traverses through node before expansion. | |
| float | tcMoveDefault_ |
| Default time per move. | |
| bool | exactPlayoutValue_ |
| Use exact evaluation value [-1, 1] or approximation {1, -1}. | |
| bool | knowledgeInPlayout_ |
| Use knowledge in playout. | |
| float | moveAdvisor_ |
| Use move advisour in uct/playouts. | |
| float | activeTrapping_ |
| Actively look for trappings in playouts. | |
| uint | knowledgeTournamentSize_ |
| How many steps go to step tournament in playout (must be > 0). | |
| int | searchThreadsNum_ |
| Number of threads for search. | |
| string | evalCfg_ |
| Filename to take the evaluation configuration from. | |
| EvaluationValues * | evaluationValues_ |
| StepKnowledgeValues * | stepKnowledgeValues_ |
Mostly influences the search/board/time management.
float Cfg::activeTrapping_ [private] |
Actively look for trappings in playouts.
bool Cfg::childrenCache_ [private] |
Children caching for perfomance boost.
bool Cfg::dynamicExploration_ [private] |
Dynamic exploration rate.
string Cfg::evalCfg_ [private] |
Filename to take the evaluation configuration from.
bool Cfg::exactPlayoutValue_ [private] |
Use exact evaluation value [-1, 1] or approximation {1, -1}.
float Cfg::exploreRate_ [private] |
Uct explore rate.
bool Cfg::extensionsInEval_ [private] |
Search extensions in evaluation.
bool Cfg::historyHeuristic_ [private] |
Use tw steps as history heuristic.
bool Cfg::knowledgeInPlayout_ [private] |
Use knowledge in playout.
bool Cfg::knowledgeInTree_ [private] |
Use knowledge in uct tree.
uint Cfg::knowledgeTournamentSize_ [private] |
How many steps go to step tournament in playout (must be > 0).
bool Cfg::localPlayout_ [private] |
Locality in playout switch.
int Cfg::matureLevel_ [private] |
Number of traverses through node before expansion.
float Cfg::moveAdvisor_ [private] |
Use move advisour in uct/playouts.
bool Cfg::playoutByMoves_ [private] |
In playout go by moves or steps.
int Cfg::playoutLen_ [private] |
Lenght of playout before evaluation.
int Cfg::searchThreadsNum_ [private] |
Number of threads for search.
float Cfg::tcMoveDefault_ [private] |
Default time per move.
bool Cfg::ucbTuned_ [private] |
Use ucb tuned formula.
bool Cfg::uct_tt_ [private] |
Uct transpotion tables.
bool Cfg::uctRelativeUpdate_ [private] |
Relative update in playout.
1.5.7.1