#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"
型定義 | |
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.cc の 47 行で定義されています。
typedef std::vector<osl::record::opening::WMove> WMoveContainer |
compare-book.cc の 28 行で定義されています。
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 | |||
) |
void dump | ( | const char * | name, | |
osl::record::opening::WeightedBook & | book, | |||
const osl::vector< int > & | parents, | |||
int | node | |||
) |
compare-book.cc の 215 行で定義されています。
参照先 osl::record::opening::WeightedBook::getBoard(), make_history(), show_history(), と show_moves().
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 | |||
) |
compare-book.cc の 197 行で定義されています。
参照先 osl::record::opening::WeightedBook::getBoard(), make_history(), show_history(), と show_moves().
参照元 compare().
bool is_same_node | ( | osl::record::opening::WeightedBook & | book_a, | |
int | node_a, | |||
osl::record::opening::WeightedBook & | book_b, | |||
int | node_b | |||
) |
compare-book.cc の 227 行で定義されています。
参照先 osl::record::opening::WeightedBook::getMoves(), と osl::eval::min().
参照元 compare().
int main | ( | int | argc, | |
char ** | argv | |||
) |
compare-book.cc の 284 行で定義されています。
参照先 osl::BLACK, compare(), dump_mode, is_determinate, max_depth, non_determinate_depth, printUsage(), ratio, run(), store(), the_player, vm, と osl::WHITE.
osl::MoveVector make_history | ( | osl::record::opening::WeightedBook & | book, | |
const osl::vector< int > & | parents, | |||
int | node | |||
) |
compare-book.cc の 173 行で定義されています。
参照先 osl::record::opening::WeightedBook::getMoves(), osl::record::opening::WeightedBook::getStartState(), moves, と result.
参照元 dump().
void printUsage | ( | std::ostream & | out, | |
char ** | argv, | |||
const boost::program_options::options_description & | command_line_options | |||
) |
compare-book.cc の 38 行で定義されています。
参照元 main().
void show_history | ( | const osl::MoveVector & | history | ) |
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.cc の 48 行で定義されています。
参照先 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.cc の 31 行で定義されています。
int is_determinate = 0 |
compare-book.cc の 32 行で定義されています。
int max_depth |
compare-book.cc の 33 行で定義されています。
参照元 doMain(), main(), osl::search::AlphaBeta2< EvalT >::showNodeDepth(), と store().
compare-book.cc の 33 行で定義されています。
double ratio |
size_t state_count = 0 |
compare-book.cc の 36 行で定義されています。
参照元 doMain().
osl::Player the_player = osl::BLACK |
compare-book.cc の 30 行で定義されています。