compare-book.cc

#include "osl/record/opening/openingBook.h"
#include "osl/record/compactBoard.h"
#include "osl/record/csa.h"
#include "osl/record/kanjiPrint.h"
#include "osl/search/quiescenceSearch2.h"
#include "osl/search/quiescenceSearch2.tcc"
#include "osl/search/simpleHashTable.h"
#include "osl/eval/pieceEval.h"
#include "osl/stl/vector.h"
#include "osl/stl/hash_map.h"
#include "osl/misc/math.h"
#include "osl/search/fixedEval.h"
#include <boost/shared_ptr.hpp>
#include <boost/program_options.hpp>
#include <boost/progress.hpp>
#include <boost/format.hpp>
#include <iostream>
#include <deque>
#include "osl/move.h"
#include "osl/record/csaRecord.h"
#include "osl/record/record.h"
#include "osl/state/numEffectState.h"
#include "osl/apply_move/applyMove.h"
compare-book.ccのインクルード依存関係図

ソースコードを見る。

型定義

typedef std::vector
< osl::record::opening::WMove
WMoveContainer
typedef osl::hash_map
< osl::HashKey, int > 
table_t

関数

void printUsage (std::ostream &out, char **argv, const boost::program_options::options_description &command_line_options)
void store (osl::record::opening::WeightedBook &book, table_t &table, osl::vector< int > &parents)
void show_moves (const char *name, osl::record::opening::WeightedBook &book, int node)
void show_history (const osl::MoveVector &history)
osl::MoveVector make_history (osl::record::opening::WeightedBook &book, const osl::vector< int > &parents, int node)
void dump (osl::record::opening::WeightedBook &book_a, const osl::vector< int > &parents_a, int node_a, osl::record::opening::WeightedBook &book_b, const osl::vector< int > &parents_b, int node_b)
void dump (const char *name, osl::record::opening::WeightedBook &book, const osl::vector< int > &parents, int node)
bool is_same_node (osl::record::opening::WeightedBook &book_a, int node_a, osl::record::opening::WeightedBook &book_b, int node_b)
void compare (osl::record::opening::WeightedBook &book_a, const table_t &table_a, const osl::vector< int > &parents_a, osl::record::opening::WeightedBook &book_b, const table_t &table_b, const osl::vector< int > &parents_b)
int main (int argc, char **argv)

変数

osl::Player the_player = osl::BLACK
std::string dump_mode = "none"
int is_determinate = 0
int max_depth
int non_determinate_depth
double ratio
size_t state_count = 0

型定義

typedef osl::hash_map<osl::HashKey,int> table_t

compare-book.cc47 行で定義されています。

compare-book.cc28 行で定義されています。


関数

void compare ( osl::record::opening::WeightedBook book_a,
const table_t table_a,
const osl::vector< int > &  parents_a,
osl::record::opening::WeightedBook book_b,
const table_t table_b,
const osl::vector< int > &  parents_b 
)

compare-book.cc250 行で定義されています。

参照先 dump(), dump_mode, と is_same_node().

参照元 main().

void dump ( const char *  name,
osl::record::opening::WeightedBook book,
const osl::vector< int > &  parents,
int  node 
)
void dump ( osl::record::opening::WeightedBook book_a,
const osl::vector< int > &  parents_a,
int  node_a,
osl::record::opening::WeightedBook book_b,
const osl::vector< int > &  parents_b,
int  node_b 
)
bool is_same_node ( osl::record::opening::WeightedBook book_a,
int  node_a,
osl::record::opening::WeightedBook book_b,
int  node_b 
)

compare-book.cc227 行で定義されています。

参照先 osl::record::opening::WeightedBook::getMoves(), と osl::eval::min().

参照元 compare().

int main ( int  argc,
char **  argv 
)
osl::MoveVector make_history ( osl::record::opening::WeightedBook book,
const osl::vector< int > &  parents,
int  node 
)
void printUsage ( std::ostream &  out,
char **  argv,
const boost::program_options::options_description &  command_line_options 
)

compare-book.cc38 行で定義されています。

参照元 main().

void show_history ( const osl::MoveVector &  history  ) 

compare-book.cc165 行で定義されています。

参照先 osl::record::csa::show().

参照元 dump().

void show_moves ( const char *  name,
osl::record::opening::WeightedBook book,
int  node 
)
void store ( osl::record::opening::WeightedBook book,
table_t table,
osl::vector< int > &  parents 
)

compare-book.cc48 行で定義されています。

参照先 osl::BLACK, depth, osl::record::opening::WeightedBook::getBoard(), osl::record::opening::WeightedBook::getMoves(), osl::record::opening::WeightedBook::getStartState(), osl::record::opening::WeightedBook::getTotalState(), is_determinate, osl::eval::max(), max_depth, osl::eval::min(), moves, non_determinate_depth, ratio, the_player, と osl::WHITE.

参照元 osl::checkmate::FixedDepthSearcher2::defense(), osl::checkmate::FixedDepthSearcher::defense(), osl::search::BreakThreatmate::findBlockLong(), osl::move_generator::Promote< P, NoCapture >::generate(), osl::move_generator::GenerateEscape< P >::generate(), osl::move_generator::GenerateCapture::generate(), osl::move_generator::AttackToPinned< P >::generate(), osl::GenerateAllMoves::generate(), osl::move_generator::GenerateAddEffectWithEffect::generate(), osl::move_generator::GenerateAddEffect< isAttackToKing >::generate(), osl::move_generator::AddEffect< P, isAttackToKing >::generate(), osl::move_generator::AddEffect8< P >::generate(), osl::move_generator::GenerateCapture::generate1(), osl::checkmate::FixedDepthSearcher2::generateBlockingWhenLiberty0(), osl::checkmate::FixedDepthSearcher::generateBlockingWhenLiberty0(), osl::search::AlphaBeta3::generateCapture(), osl::search::AlphaBeta3::generateCaptureAll(), osl::move_generator::GenerateEscape< P >::generateCheap(), osl::move_generator::GenerateEscape< P >::generateCheapKingEscape(), osl::checkmate::Dfpn::generateCheck(), osl::move_generator::GenerateEscape< P >::generateKingEscape(), osl::move_generator::SafeDropMajorPiece< P >::generateMoves(), osl::GenerateAllMoves::generateOnBoard(), osl::move_generator::Promote< P, NoCapture >::generatePtype(), osl::ntesuki::NtesukiMoveGenerator::generateWithRzone(), osl::ntesuki::getCheckMoves(), main(), osl::makeCapture(), と nextMoves().


変数

std::string dump_mode = "none"

compare-book.cc31 行で定義されています。

参照元 compare(), と main().

int is_determinate = 0

compare-book.cc32 行で定義されています。

参照元 doMain(), main(), と store().

int max_depth

compare-book.cc33 行で定義されています。

参照元 doMain(), main(), osl::search::AlphaBeta2< EvalT >::showNodeDepth(), と store().

compare-book.cc33 行で定義されています。

参照元 doMain(), main(), と store().

double ratio
size_t state_count = 0

compare-book.cc36 行で定義されています。

参照元 doMain().

osl::Player the_player = osl::BLACK

compare-book.cc30 行で定義されています。

参照元 doMain(), main(), と store().

 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 フレンド マクロ定義
Sun May 16 09:53:25 2010に生成されました。  doxygen 1.6.3