玉の動ける場所を基本としたHの推定. More...
#include <libertyEstimator.h>
Public Member Functions | |
| template<typename State > | |
| void | attackH (Player attacker, const State &state, King8Info info, Move move, unsigned int &proof_number, unsigned int &disproof_number) |
| template<typename State > | |
| void | defenseH (Player attacker, const State &state, Move move, unsigned int &proof_number, unsigned int &disproof_number) |
Static Public Member Functions | |
| template<class State > | |
| static void | attackH (Player attacker, const State &, King8Info, Move move, unsigned int &proof_number, unsigned int &disproof_number) |
| 攻撃側の move に対する proof_number と disproof_number を予想する More... | |
| template<class State > | |
| static void | defenseH (Player attacker, const State &, Move move, unsigned int &proof_number, unsigned int &disproof_number) |
| 防御側の move に対する proof_number と disproof_number を予想する More... | |
|
static |
攻撃側の move に対する proof_number と disproof_number を予想する
Referenced by osl::checkmate::Dfpn::attack(), and osl::ntesuki::NtesukiRecord::generateMoves().
| void osl::checkmate::LibertyEstimator::attackH | ( | Player | attacker, |
| const State & | state, | ||
| King8Info | info, | ||
| Move | move, | ||
| unsigned int & | proof_number, | ||
| unsigned int & | disproof_number | ||
| ) |
効きが上回っていれば先にやってみる
駒を取る
Definition at line 61 of file libertyEstimator.h.
References osl::alt(), osl::checkmate::PureLibertyEstimator::attackH(), osl::Move::capturePtype(), osl::Move::from(), osl::GOLD, osl::Square::isPieceStand(), osl::PTYPE_EMPTY, osl::SILVER, osl::Move::to(), and osl::unpromote().
|
static |
防御側の move に対する proof_number と disproof_number を予想する
Referenced by osl::ntesuki::NtesukiRecord::generateMoves().
| void osl::checkmate::LibertyEstimator::defenseH | ( | Player | attacker, |
| const State & | state, | ||
| Move | move, | ||
| unsigned int & | proof_number, | ||
| unsigned int & | disproof_number | ||
| ) |
captureは価値が高い
Definition at line 105 of file libertyEstimator.h.
References osl::alt(), osl::Move::capturePtype(), osl::Move::isDrop(), osl::KING, osl::Move::ptype(), osl::PTYPE_EMPTY, and osl::Move::to().
1.8.4