Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::AspirationWindow< Score > Struct Template Reference

Aspiration-window configuration for iterative deepening. More...

#include <Negamax.H>

Collaboration diagram for Aleph::AspirationWindow< Score >:
[legend]

Public Member Functions

bool enabled () const noexcept
 True when the aspiration window is active (half_window > 0).
 

Public Attributes

Score half_window = Score{}
 Initial half-width around the previous root value.
 
Score growth = Score{}
 Extra widening applied after each failed attempt.
 

Detailed Description

template<AdversarialScore Score>
struct Aleph::AspirationWindow< Score >

Aspiration-window configuration for iterative deepening.

Definition at line 314 of file Negamax.H.

Member Function Documentation

◆ enabled()

template<AdversarialScore Score>
bool Aleph::AspirationWindow< Score >::enabled ( ) const
inlinenoexcept

True when the aspiration window is active (half_window > 0).

Definition at line 320 of file Negamax.H.

References Aleph::AspirationWindow< Score >::half_window.

Member Data Documentation

◆ growth

template<AdversarialScore Score>
Score Aleph::AspirationWindow< Score >::growth = Score{}

Extra widening applied after each failed attempt.

Definition at line 317 of file Negamax.H.

◆ half_window

template<AdversarialScore Score>
Score Aleph::AspirationWindow< Score >::half_window = Score{}

Initial half-width around the previous root value.

Definition at line 316 of file Negamax.H.

Referenced by Aleph::AspirationWindow< Score >::enabled().


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