|
BenBot 1.7.5
A chess engine
|
#include <libbenbot/data-structures/KillerMoves.hpp>
Public Member Functions | |
| void | clear () |
| auto | get (const size_t plyFromRoot) const noexcept -> std::span< const Move > |
| void | store (const size_t plyFromRoot, const Move move) |
This structure stores killer moves collected during the search. This is essentially a set of lists of moves, indexed by ply from the root of the search.
Definition at line 43 of file KillerMoves.hpp.
|
inline |
Clears all the stored moves.
Definition at line 45 of file KillerMoves.hpp.
|
inlinenodiscardnoexcept |
Returns the killer moves for the given ply.
Definition at line 63 of file KillerMoves.hpp.
|
inline |
Stores a killer move.
Definition at line 52 of file KillerMoves.hpp.