Belofte version 2.1.8
A promising chess program using the UCI or Winboard interface
search_perft.h
Go to the documentation of this file.
1/*---------------------------------------------------------------------+
2 * File: search_perft.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_PERFT_H)
9#define SEARCH_PERFT_H
10
11//-----------------------------------------------------------------------
12
13// only move generation, no evaluation
14class SearchPerft final : public bSearchAlgorithm {
15public:
17 ~SearchPerft() override;
18
19 // no copy or move ctor nor assignment defined
20 SearchPerft(SearchPerft const&) = delete;
24
25protected:
26 bScore CalcBestMove(bBoard& b) override;
27
28private:
29 void CalcBestMove(bBoard& b, depth_t const nDepth);
30};
31
32//-----------------------------------------------------------------------
33
34#endif // defined SEARCH_PERFT_H
35
36// eof
int_fast8_t depth_t
Definition belofte.h:112
int16_t bScore
bScore CalcBestMove(bBoard &b) override
SearchPerft(SearchPerft const &)=delete
SearchPerft(SearchPerft &&)=delete
~SearchPerft() override
SearchPerft & operator=(SearchPerft &&)=delete
SearchPerft & operator=(SearchPerft const &)=delete
board
Definition board.h:147