#include <pathEncoding.h>
Public Member Functions | |
PathEncoding (int d=0) | |
PathEncoding (Player turn, int d=0) | |
PathEncoding (const PathEncoding &org, Move m) | |
Player | turn () const |
void | pushMove (Move m) |
void | popMove (Move m) |
unsigned long long | getPath () const |
int | getDepth () const |
Private Attributes | |
unsigned long long | path |
int | depth |
Definition at line 41 of file pathEncoding.h.
osl::PathEncoding::PathEncoding | ( | int | d = 0 | ) | [inline, explicit] |
Definition at line 46 of file pathEncoding.h.
osl::PathEncoding::PathEncoding | ( | Player | turn, |
int | d = 0 |
||
) | [inline, explicit] |
Definition at line 49 of file pathEncoding.h.
osl::PathEncoding::PathEncoding | ( | const PathEncoding & | org, |
Move | m | ||
) | [inline] |
Definition at line 53 of file pathEncoding.h.
References pushMove().
int osl::PathEncoding::getDepth | ( | ) | const [inline] |
Definition at line 72 of file pathEncoding.h.
References depth.
Referenced by osl::checkmate::Dfpn::defense(), osl::search::QuiescenceSearch2< EvalT >::depthFromRoot(), and osl::operator<<().
unsigned long long osl::PathEncoding::getPath | ( | ) | const [inline] |
Definition at line 71 of file pathEncoding.h.
References path.
Referenced by osl::ntesuki::NtesukiTable::HashPathEncoding::operator()(), osl::operator<<(), and osl::operator==().
void osl::PathEncoding::popMove | ( | Move | m | ) | [inline] |
Definition at line 65 of file pathEncoding.h.
References depth, osl::PathEncodingTable::get(), path, osl::Path_Encoding_Table, osl::Move::player(), and turn().
Referenced by osl::search::SearchState2Core::doUndoMoveLight(), osl::search::SearchState2Core::doUndoMoveOrPass(), osl::search::AlphaBeta3::makeMoveAndSearch(), and osl::search::SearchState2Core::popPass().
void osl::PathEncoding::pushMove | ( | Move | m | ) | [inline] |
Definition at line 59 of file pathEncoding.h.
References depth, osl::PathEncodingTable::get(), path, osl::Path_Encoding_Table, osl::Move::player(), and turn().
Referenced by osl::checkmate::Dfpn::analyze(), osl::checkmate::Dfpn::attack(), osl::checkmate::Dfpn::blockingSimulation(), osl::checkmate::Dfpn::defense(), osl::search::SearchState2Core::doUndoMoveLight(), osl::search::SearchState2Core::doUndoMoveOrPass(), osl::search::AlphaBeta2< EvalT >::findCheckmateInPV(), osl::record::CheckDuplicate::getLastState(), osl::checkmate::Dfpn::grandParentSimulation(), osl::search::AlphaBeta3::makeMoveAndSearch(), osl::checkmate::Dfpn::Node::newPath(), PathEncoding(), osl::checkmate::Dfpn::proofOracleAttack(), and osl::search::SearchState2Core::pushPass().
Player osl::PathEncoding::turn | ( | ) | const [inline] |
Definition at line 58 of file pathEncoding.h.
References osl::BLACK, path, and osl::WHITE.
Referenced by osl::search::SearchState2Core::isWinningState(), popMove(), and pushMove().
int osl::PathEncoding::depth [private] |
Definition at line 44 of file pathEncoding.h.
Referenced by getDepth(), popMove(), and pushMove().
unsigned long long osl::PathEncoding::path [private] |
Definition at line 43 of file pathEncoding.h.
Referenced by getPath(), osl::search::AlphaBeta3::makeMoveAndSearch(), popMove(), pushMove(), and turn().