クラス osl::record::opening::WinCountBook

StateOBMoveݻ. [詳細]

#include <openingBook.h>

すべてのメンバ一覧

Public メソッド

 WinCountBook (const char *filename)
 ~WinCountBook ()
int getWinCount (int stateIndex)
int getLoseCount (int stateIndex)
vector< OBMovegetMoves (int stateIndex)

Private メソッド

int readInt ()
void seek (int offset)

Private 変数

int nStates
std::ifstream ifs


説明

StateOBMoveݻ.

Statevector<OBMove>ȹ鸫winCount, loseCountݻ OBMoveMoveȤMoveѤStateindex ե state - 4byte State - 16byte * state + winCount + winCount + OBMoveο + OBMoveγindex OBMove - 8byte * OBMove + Move (4byte) + Stateindex

openingBook.h96 行で定義されています。


コンストラクタとデストラクタ

osl::record::opening::WinCountBook::WinCountBook ( const char *  filename  ) 

openingBook.cc12 行で定義されています。

参照先 ifs, nStates, と readInt().

osl::record::opening::WinCountBook::~WinCountBook (  ) 

openingBook.cc25 行で定義されています。


関数

int osl::record::opening::WinCountBook::getWinCount ( int  stateIndex  ) 

openingBook.cc67 行で定義されています。

参照先 readInt(), と seek().

参照元 printStats(), と osl::game_playing::WinCountTracer::selectMove().

int osl::record::opening::WinCountBook::getLoseCount ( int  stateIndex  ) 

openingBook.cc74 行で定義されています。

参照先 readInt(), と seek().

参照元 printStats(), と osl::game_playing::WinCountTracer::selectMove().

osl::vector< osl::record::opening::OBMove > osl::record::opening::WinCountBook::getMoves ( int  stateIndex  ) 

int osl::record::opening::WinCountBook::readInt (  )  [private]

openingBook.cc30 行で定義されています。

参照先 ifs.

参照元 getLoseCount(), getMoves(), getWinCount(), と WinCountBook().

void osl::record::opening::WinCountBook::seek ( int  offset  )  [private]

openingBook.cc42 行で定義されています。

参照先 ifs.

参照元 getLoseCount(), getMoves(), と getWinCount().


変数

openingBook.h98 行で定義されています。

参照元 getMoves(), と WinCountBook().

std::ifstream osl::record::opening::WinCountBook::ifs [private]

openingBook.h99 行で定義されています。

参照元 readInt(), seek(), と WinCountBook().


このクラスの説明は次のファイルから生成されました:

Thu Oct 8 05:01:18 2009に生成されました。  doxygen 1.5.6