io-chess
UCI chess engine
Loading...
Searching...
No Matches
TablebaseFallback.h
Go to the documentation of this file.
1#pragma once
2
7
8#include "ISearch.h"
10#include <optional>
11#include <memory>
12
13namespace TablebaseFallback {
14
28std::optional<Move> probeRoot(Board& root, IEvaluator& evalCtx,
29 std::shared_ptr<SearchSharedData>& shared,
30 const InfoCallback& infoCallback);
31
32} // namespace TablebaseFallback
Abstract interface for board evaluation algorithms.
Search interface and shared data structures.
std::function< void(int depth, int score, int nodes, int nps, const std::vector< Move > &pv)> InfoCallback
Callback function type for sending UCI 'info' updates during search.
Definition ISearch.h:145
chess::Board Board
Alias for chess::Board.
Definition Types.h:14
Definition TablebaseFallback.cpp:13
std::optional< Move > probeRoot(Board &root, IEvaluator &evalCtx, std::shared_ptr< SearchSharedData > &shared, const InfoCallback &infoCallback)
Probes the tablebase at the root node.
Definition TablebaseFallback.cpp:15