Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

GoUctPlayoutPolicyStat Struct Reference

#include <GoUctPlayoutPolicy.h>

List of all members.


Detailed Description

Statistics collected by GoUctPlayoutPolicy.

Definition at line 78 of file GoUctPlayoutPolicy.h.

Public Member Functions

void Clear ()
void Write (std::ostream &out) const

Public Attributes

std::size_t m_nuMoves
 Number of moves generated.
SgUctStatistics m_nonRandLen
 Length of sequences of consecutive non-pure-random moves.
SgUctStatistics m_moveListLen
 Length of list of equivalent best moves.
boost::array< std::size_t,
_GOUCT_NU_DEFAULT_PLAYOUT_TYPE > 
m_nuMoveType
 Number of moves of a certain type.


Member Function Documentation

void GoUctPlayoutPolicyStat::Clear (  ) 

Definition at line 60 of file GoUctPlayoutPolicy.cpp.

References SgStatistics< VALUE, COUNT >::Clear(), m_moveListLen, m_nonRandLen, m_nuMoves, and m_nuMoveType.

Referenced by GoUctPlayoutPolicy< BOARD >::ClearStatistics().

void GoUctPlayoutPolicyStat::Write ( std::ostream &  out  )  const

Definition at line 68 of file GoUctPlayoutPolicy.cpp.

References _GOUCT_NU_DEFAULT_PLAYOUT_TYPE, GoUctPlayoutPolicyTypeStr(), m_moveListLen, m_nonRandLen, m_nuMoves, m_nuMoveType, and SgStatistics< VALUE, COUNT >::Write().


Member Data Documentation

SgUctStatistics GoUctPlayoutPolicyStat::m_moveListLen

Length of list of equivalent best moves.

Does not include the length of the move list for pure random moves.

Definition at line 89 of file GoUctPlayoutPolicy.h.

Referenced by Clear(), GoUctPlayoutPolicy< BOARD >::UpdateStatistics(), and Write().

SgUctStatistics GoUctPlayoutPolicyStat::m_nonRandLen

Length of sequences of consecutive non-pure-random moves.

Definition at line 84 of file GoUctPlayoutPolicy.h.

Referenced by Clear(), GoUctPlayoutPolicy< BOARD >::UpdateStatistics(), and Write().

std::size_t GoUctPlayoutPolicyStat::m_nuMoves

Number of moves generated.

Definition at line 81 of file GoUctPlayoutPolicy.h.

Referenced by Clear(), GoUctPlayoutPolicy< BOARD >::UpdateStatistics(), and Write().

boost::array<std::size_t,_GOUCT_NU_DEFAULT_PLAYOUT_TYPE> GoUctPlayoutPolicyStat::m_nuMoveType

Number of moves of a certain type.

Definition at line 92 of file GoUctPlayoutPolicy.h.

Referenced by Clear(), GoUctPlayoutPolicy< BOARD >::UpdateStatistics(), and Write().


The documentation for this struct was generated from the following files:


17 Jun 2010 Doxygen 1.4.7