All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
osl::game_playing::DeterminateWeightTracer Class Reference

#include <weightTracer.h>

Inheritance diagram for osl::game_playing::DeterminateWeightTracer:
Inheritance graph
[legend]
Collaboration diagram for osl::game_playing::DeterminateWeightTracer:
Collaboration graph
[legend]

List of all members.

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 &copy)
OpeningBookTracerclone () const
 new したものを返す
const Move selectMove () const
 良い手を探す.状態は更新しない.
int getTopn () const

Private Attributes

const int topn
 < select a move from topn moves

Detailed Description

Definition at line 51 of file weightTracer.h.


Constructor & Destructor Documentation

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.

Definition at line 62 of file weightTracer.h.


Member Function Documentation

new したものを返す

Reimplemented from osl::game_playing::WeightTracer.

Definition at line 174 of file weightTracer.cc.

Definition at line 67 of file weightTracer.h.

References topn.

良い手を探す.状態は更新しない.

Returns:
定跡をはずれたら Move::INVALID()

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.


Member Data Documentation

< select a move from topn moves

Definition at line 54 of file weightTracer.h.

Referenced by getTopn().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines