Xiangiqgame
AI engine for Xiangqi
Loading...
Searching...
No Matches
moveselection::minimaxutils Namespace Reference

Free functions used by moveselection::MinimaxMoveEvaluator. More...

Functions

bool ValidateMove (SearchSummary &search_summary, const MoveCollection &allowed_moves)
 
void UpdateAlpha (Points_t &alpha, Points_t cur_eval)
 
void UpdateBeta (Points_t &beta, Points_t cur_eval)
 
bool IsPrunableForEvaluator (Points_t &alpha, Points_t &beta, MinimaxResultType &result_type)
 
bool IsPrunableForEvaluatorOpponent (Points_t &alpha, Points_t &beta, MinimaxResultType &result_type)
 

Detailed Description

Free functions used by moveselection::MinimaxMoveEvaluator.

Function Documentation

◆ IsPrunableForEvaluator()

bool moveselection::minimaxutils::IsPrunableForEvaluator ( Points_t alpha,
Points_t beta,
MinimaxResultType result_type 
)
inline

Definition at line 38 of file move_evaluators.hpp.

◆ IsPrunableForEvaluatorOpponent()

bool moveselection::minimaxutils::IsPrunableForEvaluatorOpponent ( Points_t alpha,
Points_t beta,
MinimaxResultType result_type 
)
inline

Definition at line 50 of file move_evaluators.hpp.

◆ UpdateAlpha()

void moveselection::minimaxutils::UpdateAlpha ( Points_t alpha,
Points_t  cur_eval 
)
inline

Definition at line 32 of file move_evaluators.hpp.

◆ UpdateBeta()

void moveselection::minimaxutils::UpdateBeta ( Points_t beta,
Points_t  cur_eval 
)
inline

Definition at line 36 of file move_evaluators.hpp.

◆ ValidateMove()

bool moveselection::minimaxutils::ValidateMove ( SearchSummary search_summary,
const MoveCollection allowed_moves 
)

Definition at line 9 of file move_evaluators.cpp.