Data shared among all threads. More...
#include <HexUctState.hpp>
Public Member Functions | |
HexUctSharedData () | |
Public Attributes | |
int | board_width |
Width of board used in last search. | |
int | board_height |
Height of board used in last search. | |
HexUctStoneData | root_stones |
Stones in root position. | |
MoveSequence | game_sequence |
Moves from begining of game leading to this position. | |
HexColor | root_to_play |
Color to play. | |
HexPoint | root_last_move_played |
Move played that led to this state. | |
bitset_t | root_consider |
Set of moves to consider from the root. | |
HashMap< HexUctStoneData > | stones |
Stores fillin information for states in the tree. |
Data shared among all threads.
Definition at line 67 of file HexUctState.hpp.
HexUctSharedData::HexUctSharedData | ( | ) | [inline] |
Definition at line 98 of file HexUctState.hpp.
Height of board used in last search.
Definition at line 73 of file HexUctState.hpp.
Referenced by MoHexPlayer::Search(), and MoHexPlayer::TryReuseSubtree().
Width of board used in last search.
Definition at line 70 of file HexUctState.hpp.
Referenced by MoHexPlayer::Search(), and MoHexPlayer::TryReuseSubtree().
Moves from begining of game leading to this position.
Definition at line 79 of file HexUctState.hpp.
Referenced by MoHexPlayer::CopyKnowledgeData(), HexUctState::GameStart(), MoHexPlayer::Search(), and MoHexPlayer::TryReuseSubtree().
Set of moves to consider from the root.
Definition at line 90 of file HexUctState.hpp.
Referenced by HexUctState::GenerateAllMoves(), MoHexPlayer::Search(), and MoHexPlayer::TryReuseSubtree().
Move played that led to this state.
Definition at line 87 of file HexUctState.hpp.
Referenced by HexUctState::GameStart(), and MoHexPlayer::Search().
Stones in root position.
Definition at line 76 of file HexUctState.hpp.
Referenced by HexUctState::GameStart(), MoHexPlayer::Search(), and MoHexPlayer::TryReuseSubtree().
Color to play.
Definition at line 82 of file HexUctState.hpp.
Referenced by HexUctSearch::AppendGame(), HexUctState::GameStart(), HexUctSearch::OnSearchIteration(), HexUctSearch::OnStartSearch(), HexUctSearch::SaveTree(), MoHexPlayer::Search(), and MoHexPlayer::TryReuseSubtree().
Stores fillin information for states in the tree.
Definition at line 93 of file HexUctState.hpp.
Referenced by HexUctState::ComputeKnowledge(), MoHexPlayer::CopyKnowledgeData(), HexUctState::ExecuteTreeMove(), and MoHexPlayer::TryReuseSubtree().