WinCountBookの追跡 More...
#include <winCountTracer.h>


| Public Types | |
| typedef record::opening::WinCountBook | WinCountBook | 
| Public Member Functions | |
| WinCountTracer (WinCountBook &, int randomness=0, bool verbose=false) | |
| WinCountTracer (const WinCountTracer &) | |
| OpeningBookTracer * | clone () const | 
| new したものを返す  More... | |
| void | update (Move) | 
| 指した手に対応して状態を更新する.  More... | |
| const Move | selectMove () const | 
| 良い手を探す.状態は更新しない.  More... | |
| int | stateIndex () const | 
| bool | isOutOfBook () const | 
| void | popMove () | 
| 一手前の状態に戻す  More... | |
|  Public Member Functions inherited from osl::game_playing::OpeningBookTracer | |
| OpeningBookTracer () | |
| virtual | ~OpeningBookTracer () | 
| bool | isVerbose () const | 
| Private Attributes | |
| WinCountBook & | book | 
| int | state_index | 
| Player | turn | 
| int | randomness | 
| bool | verbose | 
| osl::stack< int > | state_stack | 
| Additional Inherited Members | |
|  Protected Attributes inherited from osl::game_playing::OpeningBookTracer | |
| bool | verbose | 
WinCountBookの追跡
Definition at line 23 of file winCountTracer.h.
Definition at line 26 of file winCountTracer.h.
| 
 | explicit | 
Definition at line 11 of file winCountTracer.cc.
References randomness.
| osl::game_playing::WinCountTracer::WinCountTracer | ( | const WinCountTracer & | copy) | 
Definition at line 19 of file winCountTracer.cc.
| 
 | virtual | 
new したものを返す
Implements osl::game_playing::OpeningBookTracer.
Definition at line 28 of file winCountTracer.cc.
| 
 | virtual | 
Implements osl::game_playing::OpeningBookTracer.
Definition at line 68 of file winCountTracer.cc.
| 
 | virtual | 
一手前の状態に戻す
Implements osl::game_playing::OpeningBookTracer.
Definition at line 60 of file winCountTracer.cc.
References osl::alt().
| 
 | virtual | 
良い手を探す.状態は更新しない.
Implements osl::game_playing::OpeningBookTracer.
Definition at line 74 of file winCountTracer.cc.
References osl::BLACK, book(), osl::record::opening::WeightedBook::getMoves(), osl::Move::INVALID(), moves, osl::misc::time_seeded_random(), and verbose.
| 
 | inline | 
Definition at line 44 of file winCountTracer.h.
References state_index.
Referenced by printNextMoves().
| 
 | virtual | 
指した手に対応して状態を更新する.
Implements osl::game_playing::OpeningBookTracer.
Definition at line 34 of file winCountTracer.cc.
References osl::alt(), book(), osl::record::opening::WeightedBook::getMoves(), moves, osl::Move::player(), and verbose.
| 
 | private | 
Definition at line 28 of file winCountTracer.h.
| 
 | private | 
Definition at line 31 of file winCountTracer.h.
Referenced by WinCountTracer().
| 
 | private | 
Definition at line 29 of file winCountTracer.h.
Referenced by stateIndex().
| 
 | private | 
Definition at line 33 of file winCountTracer.h.
| 
 | private | 
Definition at line 30 of file winCountTracer.h.
| 
 | private | 
Definition at line 32 of file winCountTracer.h.
 1.8.4
 1.8.4