io-chess
UCI chess engine
Loading...
Searching...
No Matches
ISearch.h File Reference

Search interface and shared data structures. More...

#include "../Types.h"
#include <atomic>
#include <chrono>
#include <cstdint>
#include <functional>
#include <string>
#include <vector>
Include dependency graph for ISearch.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SearchSharedData
 Thread-safe shared state for search coordination and Lazy SMP. More...
struct  SearchSharedData::SearchConfig
 Runtime tunable parameters for the search algorithm. More...
struct  SearchSharedData::VizNode
 Represents a single node in the search tree for export and visualization. More...
struct  SearchParams
 Parameters defining the constraints for a search operation. More...
class  ISearch
 Abstract interface for search algorithms. More...

Typedefs

using InfoCallback
 Callback function type for sending UCI 'info' updates during search.

Detailed Description

Search interface and shared data structures.

Defines the common interface for search algorithms (e.g., Negamax and MCTS) and the shared state structures used for Lazy SMP, time management, and tree export.

Typedef Documentation

◆ InfoCallback

using InfoCallback
Initial value:
std::function<void(int depth, int score, int nodes,
int nps, const std::vector<Move> &pv)>

Callback function type for sending UCI 'info' updates during search.