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

Minimal replacement policy: always replace the current entry. More...

#include <Transposition_Table.H>

Public Member Functions

bool operator() (const Entry &, const Entry &) const noexcept
 Decide whether to overwrite a stored entry.
 

Detailed Description

template<typename Entry>
struct Aleph::Replace_Always< Entry >

Minimal replacement policy: always replace the current entry.

Template Parameters
EntryType of entry stored in the transposition table.

Definition at line 118 of file Transposition_Table.H.

Member Function Documentation

◆ operator()()

template<typename Entry >
bool Aleph::Replace_Always< Entry >::operator() ( const Entry ,
const Entry  
) const
inlinenoexcept

Decide whether to overwrite a stored entry.

Returns
Always true.

Definition at line 123 of file Transposition_Table.H.


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