Belofte
version 2.2.0
A promising chess program using the UCI or Winboard interface
search_abfh.cpp
Go to the documentation of this file.
1
/*---------------------------------------------------------------------+
2
* File: search_abfh.cpp
3
* Project: part of belofte - A Promising Chess Program
4
* Author: yves
5
* SPDX-License-Identifier: GPL-2.0-only
6
+----------------------------------------------------------------------*/
7
8
#include "
belofte.h
"
9
10
//-----------------------------------------------------------------------
11
12
/**
13
* AB algorithm for FailHard variation
14
*/
15
SearchAlphaBetaFH::SearchAlphaBetaFH
()
16
:
SearchAlphaBeta
(
ALPHABETA
"-FH"
)
17
{
18
m_nBetaCutOffMargin
=
SCORE_BETAMARGIN
/ 2;
19
}
20
21
//-----------------------------------------------------------------------
22
23
// eof
belofte.h
This is the main include file, needs to be included before any other include.
SearchAlphaBetaFH::SearchAlphaBetaFH
SearchAlphaBetaFH()
AB algorithm for FailHard variation.
Definition
search_abfh.cpp:15
SearchAlphaBeta::m_nBetaCutOffMargin
bScore m_nBetaCutOffMargin
Definition
search_ab.h:43
SearchAlphaBeta::SearchAlphaBeta
SearchAlphaBeta(std::string const &s)
Definition
search_ab.h:15
SCORE_BETAMARGIN
constexpr bScore SCORE_BETAMARGIN
Definition
eval.h:28
ALPHABETA
#define ALPHABETA
Definition
search.h:74
src
search_abfh.cpp
Generated on 06/01/2026 by
1.13.2