Factory for creating a GoUctGlobalSearchState. More...
#include <GoUctGlobalSearch.h>

Public Member Functions | |
| GoUctGlobalSearchStateFactory (GoBoard &bd, FACTORY &playoutPolicyFactory, const GoUctPlayoutPolicyParam &policyParam, const SgBWSet &safe, const SgPointArray< bool > &allSafe) | |
| Constructor. | |
| SgUctThreadState * | Create (unsigned int threadId, const SgUctSearch &search) |
Private Attributes | |
| GoBoard & | m_bd |
| FACTORY & | m_playoutPolicyFactory |
| const GoUctPlayoutPolicyParam & | m_policyParam |
| const SgBWSet & | m_safe |
| const SgPointArray< bool > & | m_allSafe |
Factory for creating a GoUctGlobalSearchState.
| POLICY | The playout policy | |
| FACTORY | The factory for the playout policy |
Definition at line 527 of file GoUctGlobalSearch.h.
| GoUctGlobalSearchStateFactory< POLICY, FACTORY >::GoUctGlobalSearchStateFactory | ( | GoBoard & | bd, | |
| FACTORY & | playoutPolicyFactory, | |||
| const GoUctPlayoutPolicyParam & | policyParam, | |||
| const SgBWSet & | safe, | |||
| const SgPointArray< bool > & | allSafe | |||
| ) |
Constructor.
| bd | ||
| playoutPolicyFactory | Factory for playout policies. | |
| policyParam | Stores a reference. Lifetime of parameter must exceed the lifetime of this instance. | |
| safe | ||
| allSafe |
Definition at line 561 of file GoUctGlobalSearch.h.
| SgUctThreadState * GoUctGlobalSearchStateFactory< POLICY, FACTORY >::Create | ( | unsigned int | threadId, | |
| const SgUctSearch & | search | |||
| ) | [virtual] |
Implements SgUctThreadStateFactory.
Definition at line 767 of file GoUctGlobalSearch.h.
References GoUctSearch::Board(), GoUctGlobalSearchStateFactory< POLICY, FACTORY >::m_allSafe, GoUctGlobalSearch< POLICY, FACTORY >::m_param, GoUctGlobalSearchStateFactory< POLICY, FACTORY >::m_playoutPolicyFactory, GoUctGlobalSearchStateFactory< POLICY, FACTORY >::m_policyParam, and GoUctGlobalSearchStateFactory< POLICY, FACTORY >::m_safe.
const SgPointArray<bool>& GoUctGlobalSearchStateFactory< POLICY, FACTORY >::m_allSafe [private] |
Definition at line 556 of file GoUctGlobalSearch.h.
Referenced by GoUctGlobalSearchStateFactory< POLICY, FACTORY >::Create().
GoBoard& GoUctGlobalSearchStateFactory< POLICY, FACTORY >::m_bd [private] |
Definition at line 548 of file GoUctGlobalSearch.h.
FACTORY& GoUctGlobalSearchStateFactory< POLICY, FACTORY >::m_playoutPolicyFactory [private] |
Definition at line 550 of file GoUctGlobalSearch.h.
Referenced by GoUctGlobalSearchStateFactory< POLICY, FACTORY >::Create().
const GoUctPlayoutPolicyParam& GoUctGlobalSearchStateFactory< POLICY, FACTORY >::m_policyParam [private] |
Definition at line 552 of file GoUctGlobalSearch.h.
Referenced by GoUctGlobalSearchStateFactory< POLICY, FACTORY >::Create().
const SgBWSet& GoUctGlobalSearchStateFactory< POLICY, FACTORY >::m_safe [private] |
Definition at line 554 of file GoUctGlobalSearch.h.
Referenced by GoUctGlobalSearchStateFactory< POLICY, FACTORY >::Create().