#include <fixedEval.h>
Public Member Functions | |
FixedEval () | |
void | setDrawValue (int value) |
int | drawValue () const |
Static Public Member Functions | |
static int | winByFoul (Player P) |
相手の王手千日手,打歩詰. More... | |
static int | winByLoop (Player P) |
駒得するループ. More... | |
static int | winByCheckmate (Player P) |
詰による勝 More... | |
static int | minusInfty (Player P) |
探索windowの下限 (負けでも更新される値) More... | |
static int | winThreshold (Player P) |
この値を越えれば勝. More... | |
static int | windowMax (Player P) |
探索して意味がある範囲 (偶数) More... | |
static int | brinkmatePenalty (Player P, int limit) |
必死(に見える)局面の評価値 Pが負けそう More... | |
static int | threatmatePenalty (Player P) |
末端で詰めろがかかっている場合のペナルティ. More... | |
static int | isWinValue (Player P, int val) |
勝かどうか. More... | |
Protected Member Functions | |
~FixedEval () | |
Private Attributes | |
int | draw_value |
Definition at line 12 of file fixedEval.h.
|
inlineprotected |
Definition at line 16 of file fixedEval.h.
|
inline |
Definition at line 18 of file fixedEval.h.
|
inlinestatic |
必死(に見える)局面の評価値 Pが負けそう
limit | 受を生成した閾値 大きい方が信頼できる必死 |
Definition at line 76 of file fixedEval.h.
References osl::alt(), osl::eval::convert(), and winByFoul().
|
inline |
Definition at line 25 of file fixedEval.h.
References draw_value.
|
inlinestatic |
勝かどうか.
loop勝も含める
Definition at line 91 of file fixedEval.h.
References osl::eval::notLessThan(), and winByCheckmate().
Referenced by osl::search::SearchBase< EvalT, SimpleHashTable, CountRecorder, RealizationProbability >::recordCheckmateResult().
|
inlinestatic |
探索windowの下限 (負けでも更新される値)
Definition at line 53 of file fixedEval.h.
References osl::alt(), and winByCheckmate().
|
inline |
Definition at line 21 of file fixedEval.h.
References draw_value.
|
inlinestatic |
末端で詰めろがかかっている場合のペナルティ.
P に詰めろがかかっている場合に threatmatePenalty(P)を足す
Definition at line 84 of file fixedEval.h.
References osl::alt(), and winByFoul().
|
inlinestatic |
詰による勝
Definition at line 46 of file fixedEval.h.
References osl::eval::convert().
Referenced by isWinValue(), minusInfty(), osl::search::SearchBase< EvalT, SimpleHashTable, CountRecorder, RealizationProbability >::recordLoseByCheckmate(), osl::search::SearchBase< EvalT, SimpleHashTable, CountRecorder, RealizationProbability >::recordWinByCheckmate(), and windowMax().
|
inlinestatic |
相手の王手千日手,打歩詰.
考慮対象外の手は詰より評価を下げる.
Definition at line 31 of file fixedEval.h.
References osl::eval::convert().
Referenced by brinkmatePenalty(), threatmatePenalty(), and winByLoop().
|
inlinestatic |
駒得するループ.
考慮対象外の手は詰より評価を下げる.
Definition at line 39 of file fixedEval.h.
References winByFoul().
Referenced by osl::game_playing::SearchPlayer::setUpTable().
|
inlinestatic |
|
inlinestatic |
この値を越えれば勝.
(奇数). loop勝も含める
Definition at line 60 of file fixedEval.h.
References osl::eval::convert().
Referenced by osl::search::AlphaBeta2< EvalT >::fullWindow(), osl::search::QuiescenceSearch2< EvalT >::search(), osl::search::SearchBase< EvalT, SimpleHashTable, CountRecorder, RealizationProbability >::SearchBase(), osl::search::QuiescenceSearch2< EvalT >::searchIteratively(), and osl::search::QuiescenceSearch2< EvalT >::staticValueWithThreat().
|
private |
Definition at line 14 of file fixedEval.h.
Referenced by drawValue(), and setDrawValue().