Belofte  version 2.1.5
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
14 class SearchEvalPosOnly final : public bSearchAlgorithm {
15 public:
17  ~SearchEvalPosOnly() override;
18 
19  // no copy or move ctor nor assignment defined
24 
25 protected:
26  bBestMoveInfo CalcBestMove(bBoard& b) override;
27 
28 private:
29  bScore Quiescence(bBoard& b, bScore nValueAtNullMove, depth_t const nDepth);
30 };
31 
32 //-----------------------------------------------------------------------
33 
34 #endif // defined SEARCH_QSONLY_H
35 
36 // eof
int_fast16_t bScore
used to return id of move in movelist
Definition: belofte.h:104
int_fast8_t depth_t
Definition: belofte.h:105
~SearchEvalPosOnly() override
SearchEvalPosOnly(SearchEvalPosOnly &&)=delete
SearchEvalPosOnly(SearchEvalPosOnly const &)=delete
SearchEvalPosOnly & operator=(SearchEvalPosOnly &&)=delete
SearchEvalPosOnly & operator=(SearchEvalPosOnly const &)=delete
bBestMoveInfo CalcBestMove(bBoard &b) override
board
Definition: board.h:111