Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  
Public Member Functions | Private Attributes

GoUctGlobalSearchStateFactory< POLICY, FACTORY > Class Template Reference

Factory for creating a GoUctGlobalSearchState. More...

#include <GoUctGlobalSearch.h>

Inheritance diagram for GoUctGlobalSearchStateFactory< POLICY, FACTORY >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 GoUctGlobalSearchStateFactory (GoBoard &bd, FACTORY &playoutPolicyFactory, const GoUctPlayoutPolicyParam &policyParam, const SgBWSet &safe, const SgPointArray< bool > &allSafe)
 Constructor.
SgUctThreadStateCreate (unsigned int threadId, const SgUctSearch &search)

Private Attributes

GoBoardm_bd
FACTORY & m_playoutPolicyFactory
const GoUctPlayoutPolicyParamm_policyParam
const SgBWSetm_safe
const SgPointArray< bool > & m_allSafe

Detailed Description

template<class POLICY, class FACTORY>
class GoUctGlobalSearchStateFactory< POLICY, FACTORY >

Factory for creating a GoUctGlobalSearchState.

Template Parameters:
POLICY The playout policy
FACTORY The factory for the playout policy

Definition at line 527 of file GoUctGlobalSearch.h.


Constructor & Destructor Documentation

template<class POLICY , class FACTORY >
GoUctGlobalSearchStateFactory< POLICY, FACTORY >::GoUctGlobalSearchStateFactory ( GoBoard bd,
FACTORY &  playoutPolicyFactory,
const GoUctPlayoutPolicyParam policyParam,
const SgBWSet safe,
const SgPointArray< bool > &  allSafe 
)

Constructor.

Parameters:
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.


Member Function Documentation

template<class POLICY , class FACTORY >
SgUctThreadState * GoUctGlobalSearchStateFactory< POLICY, FACTORY >::Create ( unsigned int  threadId,
const SgUctSearch search 
) [virtual]

Member Data Documentation

template<class POLICY, class FACTORY>
const SgPointArray<bool>& GoUctGlobalSearchStateFactory< POLICY, FACTORY >::m_allSafe [private]
template<class POLICY, class FACTORY>
GoBoard& GoUctGlobalSearchStateFactory< POLICY, FACTORY >::m_bd [private]

Definition at line 548 of file GoUctGlobalSearch.h.

template<class POLICY, class FACTORY>
FACTORY& GoUctGlobalSearchStateFactory< POLICY, FACTORY >::m_playoutPolicyFactory [private]
template<class POLICY, class FACTORY>
const GoUctPlayoutPolicyParam& GoUctGlobalSearchStateFactory< POLICY, FACTORY >::m_policyParam [private]
template<class POLICY, class FACTORY>
const SgBWSet& GoUctGlobalSearchStateFactory< POLICY, FACTORY >::m_safe [private]

The documentation for this class was generated from the following file:


Sun Mar 13 2011 Doxygen 1.7.1