Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

HexUctSharedData Struct Reference

Data shared among all threads. More...

#include <HexUctState.hpp>

List of all members.

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< HexUctStoneDatastones
 Stores fillin information for states in the tree.

Detailed Description

Data shared among all threads.

Definition at line 67 of file HexUctState.hpp.


Constructor & Destructor Documentation

HexUctSharedData::HexUctSharedData (  )  [inline]

Definition at line 98 of file HexUctState.hpp.


Member Data Documentation

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.

Todo:
Remove and use game_sequence to get this info?

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().

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().


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


6 Jan 2011 Doxygen 1.6.3