Xiangiqgame
AI engine for Xiangqi
Loading...
Searching...
No Matches
moveselection::SearchSummaries Struct Reference

Stores a moveselection::SearchSummary for each moveselection::MinimaxMoveEvaluator.ImplementSelectMove made for a particular player during a game. More...

#include <evaluator_data_structs.hpp>

Collaboration diagram for moveselection::SearchSummaries:
Collaboration graph

Public Member Functions

SearchSummaryNewFirstSearch (DepthType search_depth, size_t tr_table_size_initial)
 
SearchSummaryNewExtraSearch (DepthType search_depth, MoveCountType search_number, size_t tr_table_size_current)
 

Public Attributes

std::vector< SearchSummaryfirst_searches
 
std::map< MoveCountType, SearchSummaryextra_searches
 

Detailed Description

Stores a moveselection::SearchSummary for each moveselection::MinimaxMoveEvaluator.ImplementSelectMove made for a particular player during a game.

If a second call to moveselection::MinimaxMoveEvaluator.RunMinimax is needed (due to a hash collision causing in illegal move to be returned by the first call to to moveselection::MinimaxMoveEvaluator.RunMinimax), a moveselection::SearchSummary for the second search is stored in moveselection::SearchSummaries.extra_searches.

Definition at line 248 of file evaluator_data_structs.hpp.

Member Function Documentation

◆ NewExtraSearch()

SearchSummary & moveselection::SearchSummaries::NewExtraSearch ( DepthType  search_depth,
MoveCountType  search_number,
size_t  tr_table_size_current 
)
inline

Definition at line 257 of file evaluator_data_structs.hpp.

◆ NewFirstSearch()

SearchSummary & moveselection::SearchSummaries::NewFirstSearch ( DepthType  search_depth,
size_t  tr_table_size_initial 
)
inline

Definition at line 252 of file evaluator_data_structs.hpp.

Member Data Documentation

◆ extra_searches

std::map<MoveCountType, SearchSummary> moveselection::SearchSummaries::extra_searches

Definition at line 250 of file evaluator_data_structs.hpp.

◆ first_searches

std::vector<SearchSummary> moveselection::SearchSummaries::first_searches

Definition at line 249 of file evaluator_data_structs.hpp.


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