#include <stdbool.h>
Go to the source code of this file.
Macros | |
#define | MOVE_GENERATOR_CARRY 1 |
#define | MOVE_GENERATOR_KINDERGARTEN 2 |
#define | MOVE_GENERATOR_SSE 3 |
#define | MOVE_GENERATOR_BITSCAN 4 |
#define | MOVE_GENERATOR_ROXANE 5 |
#define | MOVE_GENERATOR MOVE_GENERATOR_CARRY |
#define | USE_TC true |
#define | USE_SC true |
#define | USE_ETC true |
#define | USE_PROBCUT true |
#define | USE_RECURSIVE_PROBCUT true |
#define | LIMIT_RECURSIVE_PROBCUT(x) x |
#define | KOGGE_STONE 2 |
#define | PARALLEL_PREFIX 1 |
#define | USE_IID false |
#define | USE_PREVIOUS_SEARCH true |
#define | USE_TYPE_PUNING true |
#define | HASH_N_WAY 4 |
#define | HASH_ALIGNED 1 |
#define | USE_PV_EXTENSION true |
#define | DEPTH_TO_SHALLOW_SEARCH 7 |
#define | DEPTH_MIDGAME_TO_ENDGAME 15 |
#define | ITERATIVE_MIN_EMPTIES 10 |
#define | PV_HASH_HEIGHT 5 |
#define | ETC_MIN_DEPTH 5 |
#define | SORT_ALPHA_DELTA 8 |
#define | SPLIT_MIN_DEPTH 5 |
#define | SPLIT_MIN_MOVES_TODO 1 |
#define | SPLIT_MAX_SLAVES 3 |
#define | BRANCHING_FACTOR 2.24 |
#define | SMP_W 49.0 |
#define | SMP_C 1.0 |
#define | FAST_PERFT true |
#define | MULTIPV_DEPTH 10 |
Various macro / constants to control algorithm usage.
#define BRANCHING_FACTOR 2.24 |
Branching factor (to adjust alloted time).
#define DEPTH_MIDGAME_TO_ENDGAME 15 |
Switch from midgame to endgame search (faster but less node efficient) at this depth.
#define DEPTH_TO_SHALLOW_SEARCH 7 |
Swith from endgame to shallow search (faster but less node efficient) at this depth.
#define ETC_MIN_DEPTH 5 |
Try ETC down to this depth.
#define FAST_PERFT true |
Fast perft
#define HASH_ALIGNED 1 |
hash align
#define HASH_N_WAY 4 |
Hash-n-way.
#define ITERATIVE_MIN_EMPTIES 10 |
Switch from midgame result (evaluated score) to endgame result (exact score) at this number of empties.
#define KOGGE_STONE 2 |
kogge-stone parallel prefix algorithm usage. 0 -> none, 1 -> move generator, 2 -> stability, 3 -> both.
#define LIMIT_RECURSIVE_PROBCUT | ( | x | ) | x |
limit recursive probcut level
#define MOVE_GENERATOR MOVE_GENERATOR_CARRY |
move generation.
#define MOVE_GENERATOR_BITSCAN 4 |
#define MOVE_GENERATOR_CARRY 1 |
#define MOVE_GENERATOR_KINDERGARTEN 2 |
#define MOVE_GENERATOR_ROXANE 5 |
#define MOVE_GENERATOR_SSE 3 |
#define MULTIPV_DEPTH 10 |
multi_pv depth
#define PARALLEL_PREFIX 1 |
1 stage parallel prefix algorithm usage. 0 -> none, 1 -> move generator, 2 -> stability, 3 -> both.
#define PV_HASH_HEIGHT 5 |
Store bestmoves in the pv_hash up to this height.
#define SMP_C 1.0 |
Critical time.
#define SMP_W 49.0 |
Parallelisable work.
#define SORT_ALPHA_DELTA 8 |
bound for usefull move sorting
#define SPLIT_MAX_SLAVES 3 |
Stop Node splitting (for parallel search) after a few splitting.
#define SPLIT_MIN_DEPTH 5 |
Try Node splitting (for parallel search) down to that depth.
#define SPLIT_MIN_MOVES_TODO 1 |
Stop Node splitting (for parallel search) when few move remains.
#define USE_ETC true |
enhanced transposition cutoff usage.
#define USE_IID false |
Internal Iterative Deepening.
#define USE_PREVIOUS_SEARCH true |
Use previous search result
#define USE_PROBCUT true |
probcut usage.
#define USE_PV_EXTENSION true |
PV extension (solve PV alone sooner)
#define USE_RECURSIVE_PROBCUT true |
Use recursive probcut
#define USE_SC true |
stability cutoff usage.
#define USE_TC true |
transposition cutoff usage.
#define USE_TYPE_PUNING true |
Allow type puning