#include <SgUctSearch.h>
Definition at line 221 of file SgUctSearch.h.
Public Member Functions | |
void | Clear (std::size_t numberPlayouts) |
Public Attributes | |
std::vector< float > | m_eval |
The game result of the playout(s). | |
std::vector< SgMove > | m_inTreeSequence |
The sequence of the in-tree phase. | |
std::vector< std::vector< SgMove > > | m_sequence |
The sequence of the playout(s). | |
std::vector< bool > | m_aborted |
Was the playout aborted due to maxGameLength (stored for each playout). | |
std::vector< const SgUctNode * > | m_nodes |
Nodes visited in the in-tree phase. | |
std::vector< std::vector< bool > > | m_skipRaveUpdate |
Flag to skip RAVE update for moves of the playout(s). |
void SgUctGameInfo::Clear | ( | std::size_t | numberPlayouts | ) |
Definition at line 47 of file SgUctSearch.cpp.
References m_aborted, m_eval, m_inTreeSequence, m_nodes, m_sequence, and m_skipRaveUpdate.
Referenced by SgUctSearch::PlayGame(), and SgUctSearch::SearchOnePly().
std::vector<bool> SgUctGameInfo::m_aborted |
Was the playout aborted due to maxGameLength (stored for each playout).
Definition at line 240 of file SgUctSearch.h.
Referenced by Clear(), SgUctSearch::PlayGame(), and SgUctSearch::UpdateStatistics().
std::vector<float> SgUctGameInfo::m_eval |
The game result of the playout(s).
The result is from the view of the player at the root.
Definition at line 226 of file SgUctSearch.h.
Referenced by Clear(), SgUctSearch::PlayGame(), SgUctSearch::SummaryLine(), SgUctSearch::UpdateRaveValues(), and SgUctSearch::UpdateTree().
std::vector<SgMove> SgUctGameInfo::m_inTreeSequence |
The sequence of the in-tree phase.
Definition at line 229 of file SgUctSearch.h.
Referenced by Clear(), SgUctSearch::PlayGame(), SgUctSearch::PlayInTree(), SgUctSearch::SearchOnePly(), SgUctSearch::UpdateRaveValues(), and SgUctSearch::UpdateStatistics().
std::vector<const SgUctNode*> SgUctGameInfo::m_nodes |
Nodes visited in the in-tree phase.
Definition at line 243 of file SgUctSearch.h.
Referenced by Clear(), SgUctSearch::PlayGame(), SgUctSearch::PlayInTree(), SgUctSearch::SummaryLine(), SgUctSearch::UpdateRaveValues(), and SgUctSearch::UpdateTree().
std::vector<std::vector<SgMove> > SgUctGameInfo::m_sequence |
The sequence of the playout(s).
For convenient usage, they also include the moves from m_inTreeSequence, even if they are the same for each playout.
Definition at line 235 of file SgUctSearch.h.
Referenced by Clear(), SgUctSearch::PlayGame(), SgUctSearch::PlayoutGame(), SgUctSearch::SearchOnePly(), SgUctSearch::UpdateRaveValues(), and SgUctSearch::UpdateStatistics().
std::vector<std::vector<bool> > SgUctGameInfo::m_skipRaveUpdate |
Flag to skip RAVE update for moves of the playout(s).
For convenient usage, the index corresponds to the move number from the root position on, even if the flag is currently only used for moves in the playout phase, so the flag is false for all moves in the in-tree phase.
Definition at line 251 of file SgUctSearch.h.
Referenced by Clear(), SgUctSearch::PlayGame(), SgUctSearch::PlayoutGame(), SgUctSearch::SearchOnePly(), and SgUctSearch::UpdateRaveValues().