io-chess
UCI chess engine
Loading...
Searching...
No Matches
SearchParams Struct Reference

Parameters defining the constraints for a search operation. More...

#include <ISearch.h>

Public Attributes

int wtime = 0
 White time remaining in ms.
int btime = 0
 Black time remaining in ms.
int winc = 0
 White increment per move in ms.
int binc = 0
 Black increment per move in ms.
int movestogo = 0
 Moves until next time control.
int depth = SearchConstants::DEFAULT_DEPTH
 Target depth limit.
int nodes = 0
 Node limit (0 = unlimited).
int movetime = 0
 Fixed time per move in ms.
bool infinite = false
 True if search should run until explicitly stopped.
bool ponder = false
 True if thinking during the opponent's time (wait for ponderhit/stop).
int multiPV = 1
 Number of principal variations to search (1 = normal, >1 = analysis mode).
std::vector< MovesearchMoves
 Specific root moves to search (if empty, search all legal moves).

Detailed Description

Parameters defining the constraints for a search operation.

Member Data Documentation

◆ binc

int SearchParams::binc = 0

Black increment per move in ms.

◆ btime

int SearchParams::btime = 0

Black time remaining in ms.

◆ depth

int SearchParams::depth = SearchConstants::DEFAULT_DEPTH

Target depth limit.

◆ infinite

bool SearchParams::infinite = false

True if search should run until explicitly stopped.

◆ movestogo

int SearchParams::movestogo = 0

Moves until next time control.

◆ movetime

int SearchParams::movetime = 0

Fixed time per move in ms.

◆ multiPV

int SearchParams::multiPV = 1

Number of principal variations to search (1 = normal, >1 = analysis mode).

◆ nodes

int SearchParams::nodes = 0

Node limit (0 = unlimited).

◆ ponder

bool SearchParams::ponder = false

True if thinking during the opponent's time (wait for ponderhit/stop).

◆ searchMoves

std::vector<Move> SearchParams::searchMoves

Specific root moves to search (if empty, search all legal moves).

◆ winc

int SearchParams::winc = 0

White increment per move in ms.

◆ wtime

int SearchParams::wtime = 0

White time remaining in ms.


The documentation for this struct was generated from the following file: