Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::AdversarialTranspositionKey< StateKey > Struct Template Reference

Convenience alias for adversarial transposition tables. More...

#include <Negamax.H>

Collaboration diagram for Aleph::AdversarialTranspositionKey< StateKey >:
[legend]

Public Member Functions

bool operator== (const AdversarialTranspositionKey &) const noexcept=default
 

Public Attributes

StateKey state_key = StateKey{}
 
size_t depth = 0
 

Detailed Description

template<typename StateKey>
struct Aleph::AdversarialTranspositionKey< StateKey >

Convenience alias for adversarial transposition tables.

The key includes both state_key and remaining_depth so the memoized value remains consistent with the configured horizon of the current search.

Definition at line 125 of file Negamax.H.

Member Function Documentation

◆ operator==()

template<typename StateKey >
bool Aleph::AdversarialTranspositionKey< StateKey >::operator== ( const AdversarialTranspositionKey< StateKey > &  ) const
defaultnoexcept

Member Data Documentation

◆ depth

template<typename StateKey >
size_t Aleph::AdversarialTranspositionKey< StateKey >::depth = 0

Definition at line 128 of file Negamax.H.

◆ state_key

template<typename StateKey >
StateKey Aleph::AdversarialTranspositionKey< StateKey >::state_key = StateKey{}

Definition at line 127 of file Negamax.H.


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