ntesuki More...
Classes | |
struct | DfpnError |
Throwed when something wrong happend with the df-pn search. More... | |
class | NtesukiMove |
Move に ntesuki 探索に関する情報を加えたもの More... | |
struct | NtesukiMoveGenerator |
ntesuki で使う move generator の base class. More... | |
class | NtesukiMoveList |
ntesuki 探索で使う指手のリスト More... | |
class | PathEncodingList |
class | NtesukiRecord |
ある局面について,その局面を n手すきで探索した場合の 結果を保持しておくクラス. More... | |
class | NtesukiSearcher |
class | NtesukiSimulationSearcher |
struct | TableFull |
An exception thrown when the table is full. More... | |
struct | RootStateNotSet |
An exception thrown when forEcachRecordFromRoot is called althogh the root state is not set. More... | |
class | NtesukiTable |
A table to hold ntesukiRecord. More... | |
class | OracleProverLight |
class | Rzone |
struct | CaptureHelper |
Typedefs | |
typedef slist< NtesukiMove > | NtesukiMoveListBase |
typedef ProofDisproof | NtesukiResult |
n 手すきを探索した結果を保存しておくための型. More... | |
Functions | |
std::ostream & | operator<< (std::ostream &, const NtesukiMoveList &) |
std::ostream & | operator<< (std::ostream &, const osl::ntesuki::NtesukiRecord &) |
std::ostream & | operator<< (std::ostream &, const osl::ntesuki::NtesukiRecord::IWScheme &) |
std::istream & | operator>> (std::istream &, osl::ntesuki::NtesukiRecord::IWScheme &) |
std::ostream & | operator<< (std::ostream &, const osl::ntesuki::NtesukiRecord::PSScheme &) |
std::istream & | operator>> (std::istream &, osl::ntesuki::NtesukiRecord::PSScheme &) |
std::ostream & | operator<< (std::ostream &, const osl::ntesuki::NtesukiRecord::ISScheme &) |
std::istream & | operator>> (std::istream &, osl::ntesuki::NtesukiRecord::ISScheme &) |
template<class NumEffectState > | |
Ptype | getCheapestDrop (Player turn, const NumEffectState &state) |
template<class NumEffectState > | |
Ptype | getSecondCheapestDrop (Player turn, const NumEffectState &state, Ptype cheapest) |
bool | hasEffectByBigPieces (const NumEffectState &state, const Player player, const Square pos) |
template<Player P, Ptype T> | |
static void | capture (const NumEffectState &state, move_action::Store action) |
template<osl::Player T> | |
static void | generate_all_moves (const NumEffectState &state, MoveVector &moves) |
template<Player P> | |
static void | getCheckMoves (const NumEffectState &state, MoveVector &moves) |
template<Player P, Ptype T> | |
static void | capture (const NumEffectState &state, move_action::Store action) |
ntesuki
typedef slist<NtesukiMove> osl::ntesuki::NtesukiMoveListBase |
Definition at line 23 of file ntesukiMoveList.h.
n 手すきを探索した結果を保存しておくための型.
現在では checkmate の ProofDisProof
Definition at line 15 of file ntesukiResult.h.
|
static |
Definition at line 97 of file ntesukiMoveGenerator.cc.
Referenced by osl::search::QuiescenceGenerator< P >::capture(), osl::search::BreakThreatmate::generateOpenRoad(), osl::move_generator::CaptureEffectToAroundKing8< P >::generateTo(), osl::rating::FeatureSet::makeRate(), osl::rating::FeatureSet::makeRateWithCut(), osl::search::QuiescenceSearch2< EvalT >::searchMain(), and osl::move_action::EscapeFilter< P, OrigAction >::suitable().
|
static |
Definition at line 107 of file ntesukiMoveGeneratorAttack.cc.
|
static |
Definition at line 112 of file ntesukiMoveGenerator.cc.
References osl::GenerateAllMoves::generate(), osl::GenerateEscapeKing::generate(), and osl::Move::isDrop().
Ptype osl::ntesuki::getCheapestDrop | ( | Player | turn, |
const NumEffectState & | state | ||
) |
Definition at line 96 of file ntesukiRecord.tcc.
References osl::BISHOP, osl::GOLD, osl::KNIGHT, osl::LANCE, osl::PAWN, osl::PTYPE_EMPTY, osl::ROOK, and osl::SILVER.
Referenced by osl::ntesuki::NtesukiRecord::generateMoves().
|
static |
Definition at line 74 of file ntesukiMoveGeneratorAttack.cc.
References osl::move_generator::AddEffect< P, isAttackToKing >::generate(), and store().
Ptype osl::ntesuki::getSecondCheapestDrop | ( | Player | turn, |
const NumEffectState & | state, | ||
Ptype | cheapest | ||
) |
Definition at line 115 of file ntesukiRecord.tcc.
References osl::BISHOP, osl::GOLD, osl::KNIGHT, osl::LANCE, osl::PAWN, osl::PTYPE_EMPTY, osl::ROOK, and osl::SILVER.
Referenced by osl::ntesuki::NtesukiRecord::generateMoves().
|
inline |
Definition at line 46 of file ntesukiMoveGenerator.cc.
Referenced by osl::ntesuki::NtesukiMoveGenerator::setOrder().
std::ostream & osl::ntesuki::operator<< | ( | std::ostream & | os, |
const NtesukiMoveList & | l | ||
) |
Definition at line 82 of file ntesukiMoveList.cc.
std::ostream & osl::ntesuki::operator<< | ( | std::ostream & | os, |
const osl::ntesuki::NtesukiRecord & | record | ||
) |
Definition at line 368 of file ntesukiRecord.cc.
References osl::BLACK, osl::ntesuki::NtesukiRecord::black_stand, osl::ntesuki::NtesukiRecord::distance, osl::ntesuki::NtesukiRecord::getBestMove(), osl::ntesuki::NtesukiRecord::getChildCount(), osl::ntesuki::NtesukiRecord::getPDPieces(), osl::ntesuki::NtesukiRecord::getValue(), osl::ntesuki::NtesukiRecord::isVisited(), osl::ntesuki::NtesukiRecord::key, osl::ntesuki::NtesukiRecord::SIZE, osl::WHITE, and osl::ntesuki::NtesukiRecord::white_stand.
std::ostream & osl::ntesuki::operator<< | ( | std::ostream & | os, |
const osl::ntesuki::NtesukiRecord::IWScheme & | s | ||
) |
Definition at line 397 of file ntesukiRecord.cc.
References osl::ntesuki::NtesukiRecord::no_iw, osl::ntesuki::NtesukiRecord::pn_iw, and osl::ntesuki::NtesukiRecord::strict_iw.
std::ostream & osl::ntesuki::operator<< | ( | std::ostream & | os, |
const osl::ntesuki::NtesukiRecord::PSScheme & | s | ||
) |
Definition at line 439 of file ntesukiRecord.cc.
References osl::ntesuki::NtesukiRecord::no_ps, and osl::ntesuki::NtesukiRecord::pn_ps.
std::ostream & osl::ntesuki::operator<< | ( | std::ostream & | os, |
const osl::ntesuki::NtesukiRecord::ISScheme & | s | ||
) |
Definition at line 478 of file ntesukiRecord.cc.
References osl::ntesuki::NtesukiRecord::delay_is, osl::ntesuki::NtesukiRecord::no_is, osl::ntesuki::NtesukiRecord::normal_is, and osl::ntesuki::NtesukiRecord::tonshi_is.
std::istream & osl::ntesuki::operator>> | ( | std::istream & | is, |
osl::ntesuki::NtesukiRecord::IWScheme & | s | ||
) |
Definition at line 415 of file ntesukiRecord.cc.
References osl::ntesuki::NtesukiRecord::no_iw, osl::ntesuki::NtesukiRecord::pn_iw, and osl::ntesuki::NtesukiRecord::strict_iw.
std::istream & osl::ntesuki::operator>> | ( | std::istream & | is, |
osl::ntesuki::NtesukiRecord::PSScheme & | s | ||
) |
Definition at line 455 of file ntesukiRecord.cc.
References osl::ntesuki::NtesukiRecord::no_ps, and osl::ntesuki::NtesukiRecord::pn_ps.
std::istream & osl::ntesuki::operator>> | ( | std::istream & | is, |
osl::ntesuki::NtesukiRecord::ISScheme & | s | ||
) |
Definition at line 499 of file ntesukiRecord.cc.
References osl::ntesuki::NtesukiRecord::delay_is, osl::ntesuki::NtesukiRecord::no_is, osl::ntesuki::NtesukiRecord::normal_is, and osl::ntesuki::NtesukiRecord::tonshi_is.