Statistics collected by GoUctPlayoutPolicy. More...
#include <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. |
Statistics collected by GoUctPlayoutPolicy.
Definition at line 74 of file GoUctPlayoutPolicy.h.
void GoUctPlayoutPolicyStat::Clear | ( | ) |
Definition at line 59 of file GoUctPlayoutPolicy.cpp.
References SgStatisticsBase< VALUE, COUNT >::Clear(), m_moveListLen, m_nonRandLen, m_nuMoves, and m_nuMoveType.
void GoUctPlayoutPolicyStat::Write | ( | std::ostream & | out | ) | const |
Definition at line 67 of file GoUctPlayoutPolicy.cpp.
References GoUctPlayoutPolicyTypeStr(), m_moveListLen, m_nonRandLen, m_nuMoves, m_nuMoveType, and SgStatisticsBase< VALUE, COUNT >::Write().
Length of list of equivalent best moves.
Does not include the length of the move list for pure random moves.
Definition at line 84 of file GoUctPlayoutPolicy.h.
Referenced by Clear(), GoUctPlayoutPolicy< BOARD >::UpdateStatistics(), and Write().
Length of sequences of consecutive non-pure-random moves.
Definition at line 80 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 77 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 87 of file GoUctPlayoutPolicy.h.
Referenced by Clear(), GoUctPlayoutPolicy< BOARD >::UpdateStatistics(), and Write().