Belofte version 2.1.9
A promising chess program using the UCI or Winboard interface
search_qsonly.h
Go to the documentation of this file.
1/*---------------------------------------------------------------------+
2 * File: search_qsonly.h
3 * Project: part of belofte - A Promising Chess Program
4 * Author: yves
5 * SPDX-License-Identifier: GPL-2.0-only
6+----------------------------------------------------------------------*/
7
8#if !defined(SEARCH_QSONLY_H)
9#define SEARCH_QSONLY_H
10
11//-----------------------------------------------------------------------
12
13// static eval at depth 1
15public:
17 : bSearchAlgorithm("StaticEval")
18 {}
20 {}
21
22 // no copy or move ctor nor assignment defined
27
28protected:
29 bScore CalcBestMove(bBoard& b, bMoveList& ml) override;
30
31private:
32 bScore Quiescence(bBoard& b,
33 bMoveList& ml, bScore nValueAtNullMove, depth_t const nDepth);
34};
35
36//-----------------------------------------------------------------------
37
38#endif // defined SEARCH_QSONLY_H
39
40// eof
int_fast8_t depth_t
Definition belofte.h:103
SearchEvalPosOnly & operator=(SearchEvalPosOnly &&)=delete
bScore CalcBestMove(bBoard &b, bMoveList &ml) override
Root search for algorithm.
~SearchEvalPosOnly() override
SearchEvalPosOnly & operator=(SearchEvalPosOnly const &)=delete
SearchEvalPosOnly(SearchEvalPosOnly &&)=delete
SearchEvalPosOnly(SearchEvalPosOnly const &)=delete
board
Definition board.h:45
bSearchAlgorithm(std::string const &s)
Definition search.h:75
int16_t bScore
Definition eval.h:11