Xiangiqgame
AI engine for Xiangqi
Loading...
Searching...
No Matches
piece_points_data_structs.hpp File Reference
#include <gameboard/board_data_structs.hpp>
#include <gameboard/game_piece.hpp>
#include <utilities/integer_types.hpp>
#include <string>
#include <unordered_map>
Include dependency graph for piece_points_data_structs.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  piecepoints
 Providing position-dependent values of pieces to objects in moveselection namespace.
 

Typedefs

typedef array< array< int, gameboard::kNumFiles >, gameboard::kNumRankspiecepoints::PiecePointsArray_t
 2-D array of points values for single piece at each position on a gameboard::GameBoard.board_map_.
 
typedef array< PiecePointsArray_t, gameboard::kNumPieceTypeValspiecepoints::TeamPointsArray_t
 
typedef unordered_map< gameboard::PieceType, PiecePointsArray_t > piecepoints::TeamPointsEMap_t
 
typedef unordered_map< string, PiecePointsArray_t > piecepoints::TeamPointsSMap_t
 
typedef array< TeamPointsArray_t, 2 > piecepoints::GamePointsArray_t
 
typedef unordered_map< gameboard::PieceColor, TeamPointsEMap_t > piecepoints::GamePointsEMap_t
 
typedef unordered_map< string, TeamPointsSMap_t > piecepoints::GamePointsSMap_t
 
typedef unordered_map< gameboard::PieceType, Points_tpiecepoints::TeamBasePoints_t
 
typedef unordered_map< string, Points_tpiecepoints::BasePointsSMap_t
 

Functions

size_t piecepoints::size_of_points_type ()
 
bool piecepoints::is_signed_points_type ()
 
bool piecepoints::operator== (const PiecePointsArray_t &a, const PiecePointsArray_t &b)
 
bool piecepoints::operator== (const TeamPointsSMap_t &a, const TeamPointsSMap_t &b)
 
bool piecepoints::operator== (GamePointsSMap_t &a, GamePointsSMap_t &b)