Xiangiqgame
AI engine for Xiangqi
|
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...
#include <base_position_offset.hpp>
Public Member Functions | |
BPOPointsSKeys (const BPOPointsSKeys &)=delete | |
BPOPointsSKeys & | operator= (const BPOPointsSKeys &)=delete |
BPOPointsSKeys () | |
BPOPointsSKeys (BasePointsSMap_t black_base_input, BasePointsSMap_t red_base_offsets_input, TeamPointsSMap_t black_position_input, TeamPointsSMap_t red_position_offsets_input) | |
BPOPointsSKeys (const string &json_file_path) | |
void | ToFile (string output_path) |
BPOPointsEKeys | ToBPOPointsEKeys () |
GamePointsSMap_t | ToGamePointsSmap () |
GamePointsArray_t | ToGamePointsArray () |
Public Attributes | |
BasePointsSMap_t | black_base_ |
BasePointsSMap_t | red_base_offsets_ |
TeamPointsSMap_t | black_position_ |
TeamPointsSMap_t | red_position_offsets_ |
Private Attributes | |
unique_ptr< JsonUtility< jsonio::NlohmannJsonUtility > > | json_utility_ |
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.
Definition at line 28 of file base_position_offset.hpp.
|
delete |
BPOPointsSKeys::BPOPointsSKeys | ( | ) |
Definition at line 16 of file piece_points_bpo.cpp.
BPOPointsSKeys::BPOPointsSKeys | ( | BasePointsSMap_t | black_base_input, |
BasePointsSMap_t | red_base_offsets_input, | ||
TeamPointsSMap_t | black_position_input, | ||
TeamPointsSMap_t | red_position_offsets_input | ||
) |
Definition at line 22 of file piece_points_bpo.cpp.
BPOPointsSKeys::BPOPointsSKeys | ( | const string & | json_file_path | ) |
Definition at line 33 of file piece_points_bpo.cpp.
|
delete |
BPOPointsEKeys BPOPointsSKeys::ToBPOPointsEKeys | ( | ) |
Definition at line 67 of file piece_points_bpo.cpp.
void BPOPointsSKeys::ToFile | ( | string | output_path | ) |
Definition at line 41 of file piece_points_bpo.cpp.
GamePointsArray_t BPOPointsSKeys::ToGamePointsArray | ( | ) |
Definition at line 95 of file piece_points_bpo.cpp.
GamePointsSMap_t BPOPointsSKeys::ToGamePointsSmap | ( | ) |
Definition at line 45 of file piece_points_bpo.cpp.
BasePointsSMap_t piecepoints::BPOPointsSKeys::black_base_ |
Definition at line 42 of file base_position_offset.hpp.
TeamPointsSMap_t piecepoints::BPOPointsSKeys::black_position_ |
Definition at line 44 of file base_position_offset.hpp.
|
private |
Definition at line 53 of file base_position_offset.hpp.
BasePointsSMap_t piecepoints::BPOPointsSKeys::red_base_offsets_ |
Definition at line 43 of file base_position_offset.hpp.
TeamPointsSMap_t piecepoints::BPOPointsSKeys::red_position_offsets_ |
Definition at line 45 of file base_position_offset.hpp.