State that has been search with Alpha-Beta. More...
#include <SearchedState.hpp>
Public Types | |
| enum | Bound { LOWER_BOUND, UPPER_BOUND, ACCURATE, NOT_DEFINED } |
Public Member Functions | |
| SearchedState () | |
| SearchedState (hash_t h, int depth, Bound b, HexEval s, HexPoint m) | |
| ~SearchedState () | |
| bool | Initialized () const |
| hash_t | Hash () const |
| void | CheckCollision (const SearchedState &other) const |
| bool | ReplaceWith (const SearchedState &other) const |
Public Attributes | |
| hash_t | hash |
| Zobrist Hash for this state. | |
| Bound | bound |
| How the score should be interpreted. | |
| HexEval | score |
| Score for this state. | |
| HexPoint | move |
| Best move found. | |
| int | depth |
| Depth state was searched. | |
State that has been search with Alpha-Beta.
Definition at line 17 of file SearchedState.hpp.
| enum SearchedState::Bound |
Definition at line 21 of file SearchedState.hpp.
| SearchedState::SearchedState | ( | ) | [inline] |
Definition at line 25 of file SearchedState.hpp.
Definition at line 30 of file SearchedState.hpp.
| SearchedState::~SearchedState | ( | ) | [inline] |
Definition at line 63 of file SearchedState.hpp.
| void SearchedState::CheckCollision | ( | const SearchedState & | other | ) | const [inline] |
Definition at line 78 of file SearchedState.hpp.
References UNUSED().
| hash_t SearchedState::Hash | ( | ) | const [inline] |
Definition at line 72 of file SearchedState.hpp.
References hash.
| bool SearchedState::Initialized | ( | ) | const [inline] |
Definition at line 67 of file SearchedState.hpp.
References INVALID_POINT, and move.
| bool SearchedState::ReplaceWith | ( | const SearchedState & | other | ) | const [inline] |
Definition at line 83 of file SearchedState.hpp.
References depth.
How the score should be interpreted.
Definition at line 50 of file SearchedState.hpp.
Referenced by HexAbSearch::SearchState().
Depth state was searched.
Definition at line 59 of file SearchedState.hpp.
Referenced by ReplaceWith(), and HexAbSearch::SearchState().
Best move found.
Definition at line 56 of file SearchedState.hpp.
Referenced by Initialized(), and HexAbSearch::SearchState().
Score for this state.
Definition at line 53 of file SearchedState.hpp.
Referenced by HexAbSearch::SearchState().