Belofte version 2.1.8
A promising chess program using the UCI or Winboard interface
search_random.h
Go to the documentation of this file.
1/*---------------------------------------------------------------------+
2 * File: search_random.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_RANDOM_H)
9#define SEARCH_RANDOM_H
10
11//-----------------------------------------------------------------------
12
13// random move played at depth 1
14class SearchRandom final : public bSearchAlgorithm {
15public:
17 ~SearchRandom() override;
18
19 // no copy or move ctor nor assignment defined
20 SearchRandom(SearchRandom const&) = delete;
24
25protected:
26 bScore CalcBestMove(bBoard& b) override;
27};
28
29//-----------------------------------------------------------------------
30
31#endif // defined SEARCH_RANDOM_H
32
33// eof
int16_t bScore
bScore CalcBestMove(bBoard &b) override
~SearchRandom() override
SearchRandom(SearchRandom &&)=delete
SearchRandom(SearchRandom const &)=delete
SearchRandom & operator=(SearchRandom const &)=delete
SearchRandom & operator=(SearchRandom &&)=delete
board
Definition board.h:147