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

Definitions of classes used for storing piece points in Base Points Offset form. More...

#include <jsonio/json_utility_interface.hpp>
#include <memory>
#include <jsonio/json_utility_nlohmann.hpp>
#include <piecepoints/piece_points_data_structs.hpp>
#include <string>
#include <typeinfo>
#include <unordered_map>
#include <utilities/utility_functs.hpp>
Include dependency graph for base_position_offset.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  piecepoints::BPOPointsSKeys
 Piece Points spec in "Base Points Offset" form with string keys in member unordered_map objects for easy reading / writing data from / to .json files. More...
 
class  piecepoints::BPOPointsEKeys
 Piece Points spec in "Base Points Offset" form with PieceType enum keys in member unordered_map objects for easy conversion to / from piecepoints::GamePointsArray_t form. More...
 

Namespaces

namespace  jsonio
 Importing / exporting objects from / to json files.
 
namespace  piecepoints
 Providing position-dependent values of pieces to objects in moveselection namespace.
 

Variables

const string piecepoints::kICGABPOPath = utility_functs::get_data_file_abs_path("ICGA_2004_bpo.json")
 
const string piecepoints::kICGARawPath = utility_functs::get_data_file_abs_path("ICGA_2004_raw.json")
 
const string piecepoints::kRawSchemaPath
 
const string piecepoints::kBPOSchemaPath = utility_functs::get_data_file_abs_path("bpo_schema.json")
 

Detailed Description

Definitions of classes used for storing piece points in Base Points Offset form.

Definition in file base_position_offset.hpp.