Xiangiqgame
AI engine for Xiangqi
Loading...
Searching...
No Matches
evaluator_data_structs.hpp File Reference

Data structs used by moveselection::MinimaxEvaluator. More...

Include dependency graph for evaluator_data_structs.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  moveselection::EqualScoreMoves
 Holds a gameboard::MoveCollection in which all gameboard::Move have the same value (as perceived by a MoveEvaluator), and the value of the shared score. More...
 
struct  moveselection::ScoredMove
 A gameboard::Move, and an associated score calculated by a MoveEvaluator. More...
 
class  moveselection::MinimaxCalcResult
 Data structure that holds a moveselection::EqualScoreMoves and other search-related info obtained from a call to moveselection::MinimaxMoveEvaluator.MinimaxRecursive. More...
 
class  moveselection::TranspositionTableSearchResult
 Container for storing a moveselection::MinimaxCalcResult retrieved by a call to boardstate::SingleZobristCoordinator.ImplementGetTrData. More...
 
class  moveselection::ResultDepthCounts
 Container for storing and updating data in a moveselection::ResultDepthCountsData_t array of vectors. More...
 
class  moveselection::SearchSummary
 Stores data collected during a single call to moveselection::MinimaxMoveEvaluator.ImplementSelectMove. More...
 
struct  moveselection::SearchSummaries
 Stores a moveselection::SearchSummary for each moveselection::MinimaxMoveEvaluator.ImplementSelectMove made for a particular player during a game. More...
 

Namespaces

namespace  moveselection
 Selecting a move to execute.
 

Typedefs

typedef std::array< std::vector< int >, MinimaxResultType::kMax+1 > moveselection::ResultDepthCountsData_t
 Array of vectors for storing counts of moveselection::MinimaxResultType for each posible remaining search depth.
 

Enumerations

enum  moveselection::MinimaxResultType : uint16_t {
  moveselection::kUnknown = 0 , moveselection::kTrTableHit = 1 , moveselection::kEvaluatorLoses = 4 , moveselection::kEvaluatorWins = 5 ,
  moveselection::kDraw = 6 , moveselection::kFullyEvaluatedNode = 7 , moveselection::kStandardLeaf = 8 , moveselection::kAlphaPrune = 9 ,
  moveselection::kBetaPrune = 10 , moveselection::kMin = kUnknown , moveselection::kMax = kBetaPrune
}
 

Variables

const uint16_t moveselection::kNumResultTypes {7}
 

Detailed Description

Data structs used by moveselection::MinimaxEvaluator.

Definition in file evaluator_data_structs.hpp.