相手の指手に基づくkiller move More...
#include <bigramKillerMove.h>
Public Member Functions | |
BigramKillerMove () | |
~BigramKillerMove () | |
void | clear () |
void | setMove (Move key, Move value) |
const LRUMoves & | operator[] (Move key) const |
void | getMove (const NumEffectState &state, Move last_move, MoveVector &moves) const |
void | dump () const |
Private Attributes | |
CArray2d< LRUMoves, Square::SIZE, PTYPEO_SIZE > | killer_moves |
相手の指手に基づくkiller move
Definition at line 19 of file bigramKillerMove.h.
osl::search::BigramKillerMove::BigramKillerMove | ( | ) |
Definition at line 7 of file bigramKillerMove.cc.
osl::search::BigramKillerMove::~BigramKillerMove | ( | ) |
Definition at line 13 of file bigramKillerMove.cc.
void osl::search::BigramKillerMove::clear | ( | ) |
Definition at line 18 of file bigramKillerMove.cc.
Referenced by osl::search::AlphaBeta3::computeBestMoveIteratively().
void osl::search::BigramKillerMove::dump | ( | ) | const |
Definition at line 79 of file bigramKillerMove.cc.
References osl::Square::index(), moves, osl::PTYPEO_MAX, osl::PTYPEO_MIN, and osl::ptypeOIndex().
void osl::search::BigramKillerMove::getMove | ( | const NumEffectState & | state, |
Move | last_move, | ||
MoveVector & | moves | ||
) | const |
Definition at line 26 of file bigramKillerMove.cc.
References osl::Square::canPromote(), osl::Move::capturePtype(), osl::Move::from(), osl::PtypeTable::getIndexLimit(), osl::PtypeTable::getIndexMin(), osl::PtypeTable::hasLongMove(), osl::Move::isInvalid(), osl::isPiece(), osl::Square::isPieceStand(), osl::isPromoted(), moves, osl::Move::oldPtype(), osl::Piece::owner(), osl::promote(), osl::Piece::ptype(), osl::Ptype_Table, osl::search::LRUMoves::size(), osl::Piece::square(), osl::Move::to(), and osl::unpromote().
Referenced by osl::search::AlphaBeta3::nextMove().
Definition at line 37 of file bigramKillerMove.h.
References osl::Square::index(), killer_moves, osl::Move::ptypeO(), osl::ptypeOIndex(), and osl::Move::to().
Definition at line 27 of file bigramKillerMove.h.
References osl::Square::index(), osl::Move::isPass(), osl::Move::isValid(), killer_moves, osl::Move::player(), osl::Move::ptypeO(), osl::ptypeOIndex(), and osl::Move::to().
Referenced by osl::search::AlphaBeta3::search().
|
private |
Definition at line 22 of file bigramKillerMove.h.
Referenced by operator[](), and setMove().