Xiangiqgame
AI engine for Xiangqi
Loading...
Searching...
No Matches
moveselection::MinimaxMoveEvaluatorFactory< KeyType, NumConfKeys > Class Template Reference

#include <minimax_evaluator_factory.hpp>

Inheritance diagram for moveselection::MinimaxMoveEvaluatorFactory< KeyType, NumConfKeys >:
Inheritance graph
Collaboration diagram for moveselection::MinimaxMoveEvaluatorFactory< KeyType, NumConfKeys >:
Collaboration graph

Public Types

using ZobristCoordinatorType = typename boardstate::ZobristCoordinatorFactory< KeyType, NumConfKeys, G >::ZobristCoordinatorType
 
using MoveEvaluatorType = moveselection::MinimaxMoveEvaluatorForConcepts< ZobristCoordinatorType, G, P >
 

Public Member Functions

 MinimaxMoveEvaluatorFactory (std::shared_ptr< G > game_board, DepthType search_depth, uint32_t zkeys_seed=std::random_device{}(), const std::string &json_file=piecepoints::kICGABPOPath)
 
std::unique_ptr< MoveEvaluatorBaseCreate (gameboard::PieceColor evaluating_player) override
 
- Public Member Functions inherited from MoveEvaluatorFactoryBase
virtual std::unique_ptr< MoveEvaluatorBaseCreate (gameboard::PieceColor evaluating_player)=0
 
virtual ~MoveEvaluatorFactoryBase ()=default
 

Private Types

using P = piecepoints::PiecePositionPointsForConcepts
 
using G = gameboard::GameBoardForConcepts
 
using Z = boardstate::ZobristCoordinatorFactory< KeyType, NumConfKeys, G >
 

Private Attributes

Z zobrist_coordinator_factory_
 
std::shared_ptr< Ggame_board_
 
DepthType search_depth_
 
uint32_t zkeys_seed_
 
const std::string & json_file_
 

Detailed Description

template<typename KeyType, size_t NumConfKeys>
class moveselection::MinimaxMoveEvaluatorFactory< KeyType, NumConfKeys >

Definition at line 14 of file minimax_evaluator_factory.hpp.

Member Typedef Documentation

◆ G

template<typename KeyType , size_t NumConfKeys>
using moveselection::MinimaxMoveEvaluatorFactory< KeyType, NumConfKeys >::G = gameboard::GameBoardForConcepts
private

Definition at line 16 of file minimax_evaluator_factory.hpp.

◆ MoveEvaluatorType

template<typename KeyType , size_t NumConfKeys>
using moveselection::MinimaxMoveEvaluatorFactory< KeyType, NumConfKeys >::MoveEvaluatorType = moveselection::MinimaxMoveEvaluatorForConcepts<ZobristCoordinatorType, G, P>

Definition at line 40 of file minimax_evaluator_factory.hpp.

◆ P

template<typename KeyType , size_t NumConfKeys>
using moveselection::MinimaxMoveEvaluatorFactory< KeyType, NumConfKeys >::P = piecepoints::PiecePositionPointsForConcepts
private

Definition at line 15 of file minimax_evaluator_factory.hpp.

◆ Z

template<typename KeyType , size_t NumConfKeys>
using moveselection::MinimaxMoveEvaluatorFactory< KeyType, NumConfKeys >::Z = boardstate::ZobristCoordinatorFactory<KeyType, NumConfKeys, G>
private

Definition at line 17 of file minimax_evaluator_factory.hpp.

◆ ZobristCoordinatorType

template<typename KeyType , size_t NumConfKeys>
using moveselection::MinimaxMoveEvaluatorFactory< KeyType, NumConfKeys >::ZobristCoordinatorType = typename boardstate:: ZobristCoordinatorFactory<KeyType, NumConfKeys, G>::ZobristCoordinatorType

Definition at line 37 of file minimax_evaluator_factory.hpp.

Constructor & Destructor Documentation

◆ MinimaxMoveEvaluatorFactory()

template<typename KeyType , size_t NumConfKeys>
moveselection::MinimaxMoveEvaluatorFactory< KeyType, NumConfKeys >::MinimaxMoveEvaluatorFactory ( std::shared_ptr< G game_board,
DepthType  search_depth,
uint32_t  zkeys_seed = std::random_device{}(),
const std::string &  json_file = piecepoints::kICGABPOPath 
)
inline

Definition at line 25 of file minimax_evaluator_factory.hpp.

Member Function Documentation

◆ Create()

template<typename KeyType , size_t NumConfKeys>
std::unique_ptr< MoveEvaluatorBase > moveselection::MinimaxMoveEvaluatorFactory< KeyType, NumConfKeys >::Create ( gameboard::PieceColor  evaluating_player)
inlineoverridevirtual

Implements MoveEvaluatorFactoryBase.

Definition at line 43 of file minimax_evaluator_factory.hpp.

Member Data Documentation

◆ game_board_

template<typename KeyType , size_t NumConfKeys>
std::shared_ptr<G> moveselection::MinimaxMoveEvaluatorFactory< KeyType, NumConfKeys >::game_board_
private

Definition at line 19 of file minimax_evaluator_factory.hpp.

◆ json_file_

template<typename KeyType , size_t NumConfKeys>
const std::string& moveselection::MinimaxMoveEvaluatorFactory< KeyType, NumConfKeys >::json_file_
private

Definition at line 22 of file minimax_evaluator_factory.hpp.

◆ search_depth_

template<typename KeyType , size_t NumConfKeys>
DepthType moveselection::MinimaxMoveEvaluatorFactory< KeyType, NumConfKeys >::search_depth_
private

Definition at line 20 of file minimax_evaluator_factory.hpp.

◆ zkeys_seed_

template<typename KeyType , size_t NumConfKeys>
uint32_t moveselection::MinimaxMoveEvaluatorFactory< KeyType, NumConfKeys >::zkeys_seed_
private

Definition at line 21 of file minimax_evaluator_factory.hpp.

◆ zobrist_coordinator_factory_

template<typename KeyType , size_t NumConfKeys>
Z moveselection::MinimaxMoveEvaluatorFactory< KeyType, NumConfKeys >::zobrist_coordinator_factory_
private

Definition at line 18 of file minimax_evaluator_factory.hpp.


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