ChineseCheckers
This project is a solver for two players' Chinese Checkers game using the Alpha Beta pruning algorithm. The program is written in C++ and uses a number of heuristics to improve the performance of the algorithm. Overall, the Chinese Checkers solver program has been built with performance in mind, and is designed to deliver fast and efficient game play. Whether you are playing against a bot or using the program as a library in your own project, you can be confident that the program will deliver high-performance results.
Loading...
Searching...
No Matches
openings_generator.hpp
Go to the documentation of this file.
1/*
2 * This file is part of ChineseCheckers which is released under GNU General Public License v3.0.
3 * See file LICENSE or go to https://github.com/alexicanesse/ChineseCheckers/blob/main/LICENSE for full license details.
4 * Copyright 2022 - ENS de Lyon
5 */
6
15#ifndef INCLUDE_OPENINGS_GENERATOR_HPP_
16#define INCLUDE_OPENINGS_GENERATOR_HPP_
17
18/* C++ libraries */
19#include <unordered_map>
20/* The following pragma are used to removed depraction warning from boost
21 * header files. Using them avoid to remove this warning from the entire project.
22 */
23#pragma GCC diagnostic push
24#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
25#include <boost/python.hpp>
26#pragma GCC diagnostic pop
27
28/* Other */
29#include "Types.hpp"
30#include "AlphaBeta.hpp"
31
37 private:
38 public:
44 void generateOpeningsWhite(int depth, std::ofstream *outFile);
45
51 void generateOpeningsBlack(int depth, std::ofstream *outFile);
52};
53
54
55#endif // INCLUDE_OPENINGS_GENERATOR_HPP_
Alpha-Beta algorithm declaration.
Types definition.
The AlphaBeta class inherits from the ChineseCheckers class and provides an implementation of the alp...
Definition: AlphaBeta.hpp:43
This class is used in order to generate the openings.
Definition: openings_generator.hpp:36
void generateOpeningsBlack(int depth, std::ofstream *outFile)
Definition: openings_generator.cpp:113
void generateOpeningsWhite(int depth, std::ofstream *outFile)
Definition: openings_generator.cpp:67