My Project
|
探索で前向き枝刈して良い条件を一時的に書いておく More...
#include <shouldPromoteCut.h>
Static Public Member Functions | |
template<Player P> | |
static bool | canIgnore (Ptype ptype, Square from, Square to) |
template<Player Moving> | |
static bool | canIgnoreMove (Move move) |
dropでないことが確定している場合 | |
template<Player Moving> | |
static bool | canIgnoreAndNotDrop (Move move) |
drop は通すチェック有り | |
static bool | canIgnoreAndNotDrop (Move move) |
探索で前向き枝刈して良い条件を一時的に書いておく
効果を把握したら手生成の段階で cut するのが better TODO: あと,2段目への香は必ず成るチェックをいれる
Definition at line 16 of file shouldPromoteCut.h.
|
inlinestatic |
Definition at line 19 of file shouldPromoteCut.h.
References osl::BLACK, osl::Square::canPromote(), osl::isBasic(), osl::PtypeTable::isBetterToPromote(), osl::Square::isPieceStand(), osl::LANCE, osl::Ptype_Table, and osl::Square::y().
|
inlinestatic |
Definition at line 43 of file shouldPromoteCut.h.
References osl::BLACK, and osl::Move::player().
dropでないことが確定している場合
Definition at line 30 of file shouldPromoteCut.h.
References osl::Move::from(), osl::Move::isDrop(), osl::Move::ptype(), and osl::Move::to().