BenBot 1.7.5
A chess engine
Loading...
Searching...
No Matches
ben_bot::SearchStackEntry Struct Referencefinal

#include <libbenbot/data-structures/SearchStack.hpp>

Collaboration diagram for ben_bot::SearchStackEntry:

Public Attributes

Move move { }
std::optional< eval::Score > staticEval

Detailed Description

Information about one node on the current search path.

See also
SearchStack

Definition at line 42 of file SearchStack.hpp.

Member Data Documentation

◆ move

Move ben_bot::SearchStackEntry::move { }

The move that was played to reach this node. This is a null move for the child of a null move, and for the root & the sentinel entries before it.

Definition at line 47 of file SearchStack.hpp.

◆ staticEval

std::optional<eval::Score> ben_bot::SearchStackEntry::staticEval

This node's static evaluation, or nullopt if it doesn't have one. Nodes that are in check never have one. Every other node in the main search has one (PV & non-PV nodes alike), as do the root and quiescence search nodes. The sentinel entries before the root never have one.

Definition at line 54 of file SearchStack.hpp.


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