#include "osl/checkmate/dfpn.h"#include "osl/checkmate/dfpnParallel.h"#include "osl/record/csaString.h"#include "osl/record/csaRecord.h"#include "osl/record/csaIOError.h"#include "osl/state/numEffectState.h"#include "osl/misc/perfmon.h"#include "osl/misc/milliSeconds.h"#include "osl/move_generator/legalMoves.h"#include "osl/apply_move/applyMove.h"#include "osl/checkmate/dfpnRecord.h"#include <boost/scoped_ptr.hpp>#include <string>#include <iostream>#include <iomanip>#include <fstream>#include <cstdlib>#include <unistd.h>#include <bitset>
関数 | |
| template<class DfpnSearch > | |
| void | search (DfpnSearch &, const char *filename) |
| void | usage (const char *program_name) |
| int | main (int argc, char **argv) |
| template<class DfpnSearch > | |
| void | analyzeCheckmate (DfpnSearch &searcher, const NumEffectState &state, Move checkmate_move) |
| template<class DfpnSearch > | |
| void | testWinOrLose (const char *filename, DfpnSearch &searcher, const SimpleState &sstate, int limit, ProofDisproof &result, Move &best_move, const vector< Move > &moves) |
変数 | |
| bool | verbose = false |
| unsigned long long | total_cycles = 0 |
| bool | show_escape_filename = false |
| bool | force_attack = false |
| int | num_checkmate = 0 |
| int | num_nocheckmate = 0 |
| int | num_escape = 0 |
| int | num_unkown = 0 |
| double | total_nodes = 0 |
| double | total_tables = 0 |
| int | limit = 100000 |
| bool | blocking_verify = true |
| bool | debug = false |
| double | real_seconds = 0.0 |
| void analyzeCheckmate | ( | DfpnSearch & | searcher, | |
| const NumEffectState & | state, | |||
| Move | checkmate_move | |||
| ) | [inline] |
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
dfpnstat.cc の 44 行で定義されています。
参照先 blocking_verify, debug, force_attack, limit, num_checkmate, num_escape, num_nocheckmate, num_unkown, search(), total_cycles, total_nodes, total_tables, usage(), と verbose.
| void search | ( | DfpnSearch & | searcher, | |
| const char * | filename | |||
| ) | [inline] |
dfpnstat.cc の 232 行で定義されています。
参照先 osl::alt(), force_attack, osl::Move::isNormal(), limit, moves, real_seconds, result, osl::record::csa::show(), testWinOrLose(), total_cycles, total_nodes, total_tables, と verbose.
| void testWinOrLose | ( | const char * | filename, | |
| DfpnSearch & | searcher, | |||
| const SimpleState & | sstate, | |||
| int | limit, | |||
| ProofDisproof & | result, | |||
| Move & | best_move, | |||
| const vector< Move > & | moves | |||
| ) | [inline] |
| void usage | ( | const char * | program_name | ) |
dfpnstat.cc の 40 行で定義されています。
参照元 main().
| bool blocking_verify = true |
dfpnstat.cc の 35 行で定義されています。
参照元 main().
| bool debug = false |
dfpnstat.cc の 36 行で定義されています。
参照元 main(), と testWinOrLose().
| bool force_attack = false |
dfpnstat.cc の 31 行で定義されています。
参照元 main(), search(), と testWinOrLose().
| int limit = 100000 |
dfpnstat.cc の 34 行で定義されています。
参照元 osl::search::AlphaBeta2Tree< EvalT >::alphaBetaSearchAfterMove(), osl::move_generator::piece_on_board::generateLance(), osl::move_generator::piece_on_board::generateLong(), main(), osl::search::SearchBase< EvalT, SimpleHashTable, CountRecorder, RealizationProbability >::recordCheckmateResult(), と search().
| int num_checkmate = 0 |
dfpnstat.cc の 32 行で定義されています。
参照元 main(), search(), と testWinOrLose().
| int num_escape = 0 |
dfpnstat.cc の 32 行で定義されています。
参照元 main(), search(), と testWinOrLose().
| int num_nocheckmate = 0 |
dfpnstat.cc の 32 行で定義されています。
参照元 main(), と testWinOrLose().
| int num_unkown = 0 |
dfpnstat.cc の 32 行で定義されています。
参照元 main(), search(), と testWinOrLose().
| double real_seconds = 0.0 |
dfpnstat.cc の 115 行で定義されています。
参照元 search(), と testWinOrLose().
| bool show_escape_filename = false |
dfpnstat.cc の 30 行で定義されています。
| unsigned long long total_cycles = 0 |
dfpnstat.cc の 29 行で定義されています。
参照元 finish(), main(), qsearch(), run(), search(), と testWinOrLose().
| double total_nodes = 0 |
dfpnstat.cc の 33 行で定義されています。
| double total_tables = 0 |
dfpnstat.cc の 33 行で定義されています。
| bool verbose = false |
dfpnstat.cc の 28 行で定義されています。
参照元 adjust(), main(), process(), qsearch(), Analyzer::search(), search(), show(), と testWinOrLose().
1.6.3