#include <weightTracer.h>
Public Member Functions | |
DeterminateWeightTracer (WeightedBook &book, bool verbose=false, const int topn=1, const int weight_coef_for_the_initial_move=16, const int weight_coef=10) | |
DeterminateWeightTracer (const DeterminateWeightTracer ©) | |
OpeningBookTracer * | clone () const |
new したものを返す | |
const Move | selectMove () const |
良い手を探す.状態は更新しない. | |
int | getTopn () const |
Private Attributes | |
const int | topn |
< select a move from topn moves |
Definition at line 51 of file weightTracer.h.
osl::game_playing::DeterminateWeightTracer::DeterminateWeightTracer | ( | WeightedBook & | book, |
bool | verbose = false , |
||
const int | topn = 1 , |
||
const int | weight_coef_for_the_initial_move = 16 , |
||
const int | weight_coef = 10 |
||
) | [inline, explicit] |
Definition at line 56 of file weightTracer.h.
osl::game_playing::DeterminateWeightTracer::DeterminateWeightTracer | ( | const DeterminateWeightTracer & | copy | ) | [inline] |
Definition at line 62 of file weightTracer.h.
osl::game_playing::OpeningBookTracer * osl::game_playing::DeterminateWeightTracer::clone | ( | ) | const [virtual] |
new したものを返す
Reimplemented from osl::game_playing::WeightTracer.
Definition at line 174 of file weightTracer.cc.
int osl::game_playing::DeterminateWeightTracer::getTopn | ( | ) | const [inline] |
Definition at line 67 of file weightTracer.h.
References topn.
const osl::Move osl::game_playing::DeterminateWeightTracer::selectMove | ( | ) | const [virtual] |
良い手を探す.状態は更新しない.
Reimplemented from osl::game_playing::WeightTracer.
Definition at line 180 of file weightTracer.cc.
References book(), osl::record::opening::WeightedBook::getMoves(), osl::Move::INVALID(), moves, and verbose.
const int osl::game_playing::DeterminateWeightTracer::topn [private] |
< select a move from topn moves
Definition at line 54 of file weightTracer.h.
Referenced by getTopn().