SearchFramework のうち,template parameter を含まない部分. More...
#include <searchState2.h>
Public Member Functions | |
SearchState2 (const NumEffectState &s, checkmate_t &checker) | |
virtual | ~SearchState2 () |
void | setState (const NumEffectState &s) |
state のコピーを行う. | |
void | setKillerMove (Move best_move) |
int | curLimit () const |
bool | abort (Move) const |
Static Public Attributes | |
static const int | ReSearchLimitMargin = 80 |
再探索や,指手生成でより確率の高い手があったときに無視する範囲 | |
Protected Member Functions | |
void | setRoot (int limit) |
root で limitを閾値に探索を始めることを設定 | |
void | addLimit (int limit) |
void | subLimit (int limit) |
int | countSacrificeCheck2 (int history_max) const |
王手の捨て駒の連続を2ループまで数える | |
void | checkPointSearchAllMoves () |
debug 用途 | |
Protected Attributes | |
int | root_limit |
int | cur_limit |
SearchFramework のうち,template parameter を含まない部分.
Definition at line 495 of file searchState2.h.
osl::search::SearchState2::SearchState2 | ( | const NumEffectState & | s, |
checkmate_t & | checker | ||
) |
Definition at line 179 of file searchState2.cc.
osl::search::SearchState2::~SearchState2 | ( | ) | [virtual] |
Definition at line 185 of file searchState2.cc.
bool osl::search::SearchState2::abort | ( | Move | best_move | ) | const [virtual] |
Reimplemented from osl::search::SearchState2Core.
Definition at line 203 of file searchState2.cc.
References osl::search::SearchState2Core::abort().
void osl::search::SearchState2::addLimit | ( | int | limit | ) | [inline, protected] |
Definition at line 528 of file searchState2.h.
References cur_limit, limit, and search_assert.
void osl::search::SearchState2::checkPointSearchAllMoves | ( | ) | [protected] |
debug 用途
Definition at line 212 of file searchState2.cc.
int osl::search::SearchState2::countSacrificeCheck2 | ( | int | history_max | ) | const [protected] |
王手の捨て駒の連続を2ループまで数える
history_max | これ以上を逆上らない |
Definition at line 197 of file searchState2.cc.
References osl::search::SacrificeCheck::count2().
int osl::search::SearchState2::curLimit | ( | ) | const [inline] |
Definition at line 515 of file searchState2.h.
References cur_limit.
void osl::search::SearchState2::setKillerMove | ( | Move | best_move | ) | [inline] |
Reimplemented from osl::search::SearchState2Core.
Definition at line 508 of file searchState2.h.
References osl::Move::isPass().
void osl::search::SearchState2::setRoot | ( | int | limit | ) | [inline, protected] |
root で limitを閾値に探索を始めることを設定
Reimplemented in osl::search::AlphaBeta2< EvalT >.
Definition at line 523 of file searchState2.h.
References cur_limit, limit, and root_limit.
Referenced by osl::search::AlphaBeta2< EvalT >::setRoot().
void osl::search::SearchState2::setState | ( | const NumEffectState & | s | ) | [virtual] |
state のコピーを行う.
this->state は探索終了後も保存されるが,探索中に exception が起こると 破壊されている
Reimplemented from osl::search::SearchState2Core.
Definition at line 190 of file searchState2.cc.
References osl::search::SearchState2Core::setState().
void osl::search::SearchState2::subLimit | ( | int | limit | ) | [inline, protected] |
Definition at line 529 of file searchState2.h.
References cur_limit, limit, and search_assert.
int osl::search::SearchState2::cur_limit [protected] |
Definition at line 502 of file searchState2.h.
Referenced by addLimit(), curLimit(), setRoot(), and subLimit().
const int osl::search::SearchState2::ReSearchLimitMargin = 80 [static] |
再探索や,指手生成でより確率の高い手があったときに無視する範囲
Definition at line 499 of file searchState2.h.
int osl::search::SearchState2::root_limit [protected] |
Definition at line 501 of file searchState2.h.
Referenced by setRoot().