Creates threads. More...
#include <HexUctSearch.hpp>
Public Member Functions | |
HexThreadStateFactory (HexUctSharedPolicy *shared_policy) | |
~HexThreadStateFactory () | |
SgUctThreadState * | Create (unsigned int threadId, const SgUctSearch &search) |
Private Attributes | |
HexUctSharedPolicy * | m_shared_policy |
Creates threads.
Definition at line 24 of file HexUctSearch.hpp.
HexThreadStateFactory::HexThreadStateFactory | ( | HexUctSharedPolicy * | shared_policy | ) |
Definition at line 26 of file HexUctSearch.cpp.
HexThreadStateFactory::~HexThreadStateFactory | ( | ) |
Definition at line 31 of file HexUctSearch.cpp.
SgUctThreadState * HexThreadStateFactory::Create | ( | unsigned int | threadId, | |
const SgUctSearch & | search | |||
) |
Definition at line 36 of file HexUctSearch.cpp.
References LogInfo(), m_shared_policy, HexUctSearch::PlayoutUpdateRadius(), HexUctState::SetPolicy(), and HexUctSearch::TreeUpdateRadius().
Definition at line 34 of file HexUctSearch.hpp.
Referenced by Create().