Definition in file GoUctSearch.cpp.
#include "SgSystem.h"
#include "GoUctSearch.h"
#include <fstream>
#include <iostream>
#include "GoBoardUtil.h"
#include "GoNodeUtil.h"
#include "GoUctUtil.h"
#include "SgDebug.h"
#include "SgGameWriter.h"
#include "SgNode.h"
#include "SgUctTreeUtil.h"
Go to the source code of this file.
Functions | |
| SgNode * | AppendChild (SgNode *node, const string &comment) |
| SgNode * | AppendChild (SgNode *node, SgBlackWhite color, SgPoint move) |
| void | AppendGame (SgNode *node, size_t gameNumber, int threadId, SgBlackWhite toPlay, const SgUctGameInfo &info) |
| Append game to saved simulations (used if m_keepGames is true). | |
| SgPoint | GoUctSearchUtil::TrompTaylorPassCheck (SgPoint move, const GoUctSearch &search) |
| Checks if move is a bad pass move, if Tromp-Taylor rules are used, and tries to fix it. | |
Variables | |
| const int | MOVERANGE = SG_PASS + 1 |
| SgNode* @3::AppendChild | ( | SgNode * | node, | |
| SgBlackWhite | color, | |||
| SgPoint | move | |||
| ) | [static] |
Definition at line 36 of file GoUctSearch.cpp.
References SgNode::Add(), SgNode::NewRightMostSon(), SG_BLACK, SG_PROP_MOVE_BLACK, and SG_PROP_MOVE_WHITE.
Definition at line 29 of file GoUctSearch.cpp.
References SgNode::AddComment(), and SgNode::NewRightMostSon().
Referenced by AppendGame().
| void @3::AppendGame | ( | SgNode * | node, | |
| size_t | gameNumber, | |||
| int | threadId, | |||
| SgBlackWhite | toPlay, | |||
| const SgUctGameInfo & | info | |||
| ) | [static] |
Append game to saved simulations (used if m_keepGames is true).
Definition at line 46 of file GoUctSearch.cpp.
References AppendChild(), SgUctGameInfo::m_aborted, SgUctGameInfo::m_eval, SgUctGameInfo::m_inTreeSequence, SgUctGameInfo::m_sequence, SG_ASSERT, and SgOppBW().
Referenced by GoUctSearch::OnSearchIteration().
Definition at line 27 of file GoUctSearch.cpp.