#include <historyTable.h>
Classes | |
struct | Entry |
struct | OutputEntry |
Public Member Functions | |
uint64_t | value (Move move) const |
void | add (Move move, int inc) |
void | clear (Move move) |
void | extractTopN (Player p, vector< OutputEntry > &out, size_t limit) const |
Private Attributes | |
CArray< CArray2d< Entry, Square::SIZE, Square::SIZE >, 2 > | table |
Definition at line 18 of file historyTable.h.
|
inline |
Definition at line 42 of file historyTable.h.
References osl::Move::from(), osl::Move::isDrop(), osl::Move::isNormal(), osl::Move::player(), osl::Move::ptype(), SCOPED_LOCK, table, osl::Move::to(), osl::Square::uintValue(), and osl::search::HistoryTable::Entry::value.
|
inline |
Definition at line 53 of file historyTable.h.
References osl::Move::from(), osl::Move::isDrop(), osl::Move::isNormal(), osl::Move::player(), osl::Move::ptype(), table, osl::Move::to(), osl::Square::uintValue(), and osl::search::HistoryTable::Entry::value.
void osl::search::HistoryTable::extractTopN | ( | Player | p, |
vector< OutputEntry > & | out, | ||
size_t | limit | ||
) | const |
Definition at line 9 of file historyTable.cc.
References osl::Square::uintValue().
|
inline |
Definition at line 34 of file historyTable.h.
References osl::Move::from(), osl::Move::isDrop(), osl::Move::isNormal(), osl::Move::player(), osl::Move::ptype(), table, osl::Move::to(), osl::Square::uintValue(), and osl::search::HistoryTable::Entry::value.
Referenced by osl::search::QuiescenceGenerator< P >::dropMajorPiece3(), and osl::search::QuiescenceGenerator< P >::promoteN().
|
private |
Definition at line 32 of file historyTable.h.