Public メソッド | |
Searcher (qsearch_t **q, eval_t &e) | |
virtual | ~Searcher () |
virtual const std::string | name () const =0 |
virtual const std::pair< int, int > | alphaBeta (Player turn, int pawn_value, int real_value) const =0 |
virtual int | search (Player turn, int pawn_value, int real_value, Move last_move)=0 |
void | report () const |
Protected メソッド | |
const std::pair< int, int > | count (Player turn, int alpha, int beta, Move last_move) |
Protected 変数 | |
stat::Average | width |
stat::Average | nodes |
stat::Average | diff |
stat::Average | accuracy |
qsearch_t ** | searcher |
eval_t & | eval |
range-vs-nodes.cc の 107 行で定義されています。
range-vs-nodes.cc の 114 行で定義されています。
virtual Searcher::~Searcher | ( | ) | [inline, virtual] |
range-vs-nodes.cc の 117 行で定義されています。
virtual const std::pair<int,int> Searcher::alphaBeta | ( | Player | turn, | |
int | pawn_value, | |||
int | real_value | |||
) | const [pure virtual] |
FullWidth, FixedRange, ExtendToCenter, ExtendToCenterModest, と ExtendToOtherで実装されています。
const std::pair<int,int> Searcher::count | ( | Player | turn, | |
int | alpha, | |||
int | beta, | |||
Move | last_move | |||
) | [inline, protected] |
range-vs-nodes.cc の 130 行で定義されています。
参照先 osl::stat::Average::add(), osl::alt(), osl::BLACK, eval, osl::eval::max(), result, osl::WHITE, と width.
virtual const std::string Searcher::name | ( | ) | const [pure virtual] |
FullWidth, FixedCenter, AccurateCenter, RootCenter, ExtendToCenter, ExtendToCenterModest, と ExtendToOtherで実装されています。
参照元 report().
void Searcher::report | ( | ) | const [inline] |
range-vs-nodes.cc の 145 行で定義されています。
参照先 accuracy, diff, osl::stat::Average::getAverage(), name(), nodes, と width.
参照元 Analyzer::report().
virtual int Searcher::search | ( | Player | turn, | |
int | pawn_value, | |||
int | real_value, | |||
Move | last_move | |||
) | [pure virtual] |
NormalSearcherで実装されています。
stat::Average Searcher::accuracy [protected] |
range-vs-nodes.cc の 110 行で定義されています。
参照元 report(), と NormalSearcher::search().
stat::Average Searcher::diff [protected] |
range-vs-nodes.cc の 110 行で定義されています。
参照元 report(), と NormalSearcher::search().
eval_t& Searcher::eval [protected] |
stat::Average Searcher::nodes [protected] |
range-vs-nodes.cc の 110 行で定義されています。
参照元 report(), と NormalSearcher::search().
qsearch_t** Searcher::searcher [protected] |
range-vs-nodes.cc の 111 行で定義されています。
stat::Average Searcher::width [protected] |
range-vs-nodes.cc の 110 行で定義されています。