Statistics of the last search performed by SgUctSearch. More...
#include <SgUctSearch.h>
Public Member Functions | |
void | Clear () |
void | Write (std::ostream &out) const |
Public Attributes | |
double | m_time |
SgUctValue | m_knowledge |
Number of nodes for which the knowledge threshold was exceeded. | |
double | m_gamesPerSecond |
Games per second. | |
SgStatisticsExt< SgUctValue, SgUctValue > | m_gameLength |
SgStatisticsExt< SgUctValue, SgUctValue > | m_movesInTree |
SgUctStatistics | m_aborted |
Statistics of the last search performed by SgUctSearch.
Definition at line 415 of file SgUctSearch.h.
void SgUctSearchStat::Clear | ( | ) |
Definition at line 221 of file SgUctSearch.cpp.
References SgStatisticsBase< VALUE, COUNT >::Clear(), SgStatisticsExt< VALUE, COUNT >::Clear(), m_aborted, m_gameLength, m_gamesPerSecond, m_knowledge, m_movesInTree, and m_time.
Referenced by SgUctSearch::StartSearch().
void SgUctSearchStat::Write | ( | std::ostream & | out | ) | const |
Definition at line 231 of file SgUctSearch.cpp.
References m_aborted, m_gameLength, m_gamesPerSecond, m_movesInTree, m_time, SgStatisticsBase< VALUE, COUNT >::Mean(), and SgStatisticsExt< VALUE, COUNT >::Write().
Referenced by SgUctSearch::WriteStatistics().
Definition at line 431 of file SgUctSearch.h.
Referenced by Clear(), SgUctSearch::UpdateStatistics(), and Write().
Definition at line 427 of file SgUctSearch.h.
Referenced by Clear(), SgUctSearch::UpdateStatistics(), and Write().
Games per second.
Useful values only if search time is higher than resolution of SgTime::Get().
Definition at line 425 of file SgUctSearch.h.
Referenced by SgUctSearch::CheckAbortSearch(), Clear(), SgUctSearch::Search(), SgUctSearch::UpdateCheckTimeInterval(), and Write().
Number of nodes for which the knowledge threshold was exceeded.
Definition at line 420 of file SgUctSearch.h.
Referenced by Clear(), SgUctSearch::PlayInTree(), and SgUctSearch::WriteStatistics().
Definition at line 429 of file SgUctSearch.h.
Referenced by Clear(), SgUctSearch::UpdateStatistics(), and Write().
double SgUctSearchStat::m_time |
Definition at line 417 of file SgUctSearch.h.
Referenced by Clear(), SgUctSearch::Search(), and Write().