#include "osl/category/standardMoveGenerator.h"
#include "osl/category/categoryListUtil.h"
#include "osl/category/categoryUtil.h"
#include "osl/search/simpleHashRecord.h"
#include "osl/stat/histogram.h"
#include "osl/stat/average.h"
#include "osl/container/moveStack.h"
#include "osl/container/moveLogProbSet.h"
#include "osl/eval/progressEval.h"
#include "osl/state/numEffectState.h"
#include "osl/moveLogProb.h"
#include "osl/record/csaRecord.h"
#include "osl/record/csaIOError.h"
#include "osl/record/kanjiPrint.h"
#include "osl/apply_move/applyMove.h"
#include "osl/misc/perfmon.h"
#include <vector>
#include <map>
#include <string>
#include <boost/format.hpp>
#include <iostream>
#include <iomanip>
構成 | |
struct | CategoryStat |
struct | CategoryCount |
struct | Order |
型定義 | |
typedef std::map< const char *, CategoryStat > | map_t |
関数 | |
void | usage (const char *prog) |
void | test_file (const char *filename) |
void | show_table (const map_t &) |
int | main (int argc, char **argv) |
void | test_position (Move next_move, const NumEffectState &state, const MoveStack &history) |
変数 | |
int | limit = 1200 |
size_t | first_skip = 0 |
bool | verbose = false |
bool | very_verbose = false |
bool | all_moves = false |
stat::Average | moves |
stat::Average | cycles |
stat::Average | cycles_per_move |
stat::Average | probs |
stat::Histogram | moves_histogram (2, 10) |
map_t | category_table |
size_t | num_positions = 0 |
category_perf.cc で定義されています。
typedef std::map<const char *,CategoryStat> map_t |
category_perf.cc の 57 行で定義されています。
int main | ( | int | argc, | |
char ** | argv | |||
) |
category_perf.cc の 63 行で定義されています。
参照先 category_table, first_skip, osl::stat::Average::getAverage(), limit, moves_histogram, osl::stat::Histogram::show(), show_table(), test_file(), usage(), verbose, と very_verbose.
void show_table | ( | const map_t & | table | ) |
void test_file | ( | const char * | filename | ) |
פäƤ
category_perf.cc の 169 行で定義されています。
参照先 first_skip, history, osl::container::MoveStack::push(), state, と test_position().
参照元 main().
category_perf.cc の 139 行で定義されています。
参照先 osl::stat::Histogram::add(), osl::stat::Average::add(), category_table, CategoryStat::cycles_per_move, limit, CategoryStat::moves, moves_histogram, num_positions, osl::eval::ProgressEvalGeneral< OpeningEval >::progress32(), と osl::misc::PerfMon::stop().
参照元 test_file(), と test_record().
void usage | ( | const char * | prog | ) |
category_perf.cc の 32 行で定義されています。
bool all_moves = false |
category_perf.cc の 47 行で定義されています。
category_perf.cc の 49 行で定義されています。
size_t first_skip = 0 |
category_perf.cc の 44 行で定義されています。
int limit = 1200 |
category_perf.cc の 43 行で定義されています。
category_perf.cc の 49 行で定義されています。
参照元 osl::search::analyzer::DotAnalyzerProof::absoluteBound(), osl::rating::BradleyTerry::accumulate(), osl::rating::BradleyTerry::addPosition(), osl::search::AlphaBeta2::alphaBetaSearchRoot(), analyze_all_moves(), osl::category::analyzer::ProbOfEachCategory::analyzeOne(), osl::search::analyzer::DotAnalyzer::analyzeSequence(), osl::checkmate::FixedDepthSearcher::attack(), osl::ntesuki::NtesukiSimulationSearcher::attackForDisproof(), osl::ntesuki::NtesukiSearcher::attackWithOrder(), osl::ntesuki::NtesukiRecord::calcProofPiecesAnd(), osl::checkmate::CheckmateIfCapture::cannotCapture(), check_all(), osl::search::AlphaBeta2::computeBestMoveIteratively(), osl::ntesuki::OracleProverLight::defense(), osl::checkmate::FixedDepthSearcher::defense(), osl::ntesuki::NtesukiSimulationSearcher::defenseForProof(), osl::ntesuki::NtesukiSearcher::defenseWithPlayer(), osl::category::ImmediateEscape::PositionAction::doAction(), doMain(), osl::search::BigramKillerMove::dump(), osl::search::analyzer::TopLevelAnalyzer::examineAll(), osl::checkmate::ProofOracleDefense< P >::expandOracle(), osl::checkmate::DisproofOracleAttack< P >::expandOracle(), find_all(), find_bad_moves(), osl::ntesuki::NtesukiTable::Table::forEachRecordFrom(), osl::category::analyzer::OrderOfMove::generate(), osl::category::Classify< SubCategories >::generate(), osl::category::CategoryUtil< Category >::generate(), osl::category::AddEffectToLastMove::generate(), osl::checkmate::CheckMoveGenerator< P >::generateAttack(), osl::checkmate::CheckMoveGenerator< P >::generateEscape(), osl::category::BreakThreatmate::generateOpenRoad(), osl::rating::FeatureSet::generateRating(), osl::category::IndexUtil< Category >::generateWithIndex(), osl::search::KillerMoveTable::getMove(), osl::search::BigramKillerMove::getMove(), osl::record::Record::getMoves(), osl::record::opening::WeightedBook::getMoves(), osl::record::opening::WinCountBook::getMoves(), osl::record::KisenPlusFile::getMoves(), osl::record::KisenFile::getMoves(), osl::record::KisenIpxFile::getPlayer(), osl::record::KisenIpxFile::getRating(), osl::record::KisenIpxFile::getTitle(), osl::ntesuki::NtesukiSearcher::handleInterpose(), osl::ntesuki::NtesukiSearcher::handleNonAttack(), osl::game_playing::GameManager::load(), main(), nextMoves(), osl::category::EscapeCommon::Generator::operator()(), printNextMoves(), process(), qsearch(), run(), Analyzer::search(), osl::search::QuiescenceSearch2< EvalT >::searchMain(), osl::search::QuiescenceSearch< EvalT >::searchMain(), osl::game_playing::RandomPlayer::selectBestMove(), osl::game_playing::WinCountTracer::selectMove(), osl::game_playing::DeterminateWeightTracer::selectMove(), osl::game_playing::WeightTracer::selectMove(), osl::ntesuki::NtesukiRecord::setDisproofPieces(), osl::ntesuki::NtesukiRecord::setFinal(), osl::brinkmate::Searcher::setUpAttack(), osl::checkmate::analyzer::ShowAllTree::show(), show(), osl::search::AlphaBeta2Tree::showPV(), osl::ntesuki::NtesukiSearcher::simulateSiblingsFail(), osl::ntesuki::NtesukiSearcher::simulateSiblingsSuccess(), osl::game_playing::ThreadForEachMove::startSpeculative(), osl::search::QuiescenceSearch2< EvalT >::staticValueWithThreat(), osl::search::QuiescenceSearch< EvalT >::staticValueWithThreat(), osl::record::KanjiMove::strToMove(), osl::search::QuiescenceSearch2< EvalT >::takeBackOrChase(), osl::search::QuiescenceSearch< EvalT >::takeBackOrChase(), osl::search::QuiescenceSearch2< EvalT >::takeBackValue(), osl::search::QuiescenceSearch< EvalT >::takeBackValue(), test_position(), testFile(), testState(), osl::game_playing::WinCountTracer::update(), osl::game_playing::WeightTracer::update(), osl::category::CategoryListUtil::useOneCategory(), osl::record::opening::WeightedBook::validate(), osl::search::analyzer::DotAnalyzerAll::visit(), と osl::search::analyzer::DotAnalyzerAll::visitQuiescence().
stat::Histogram moves_histogram(2, 10) |
参照元 main(), と test_position().
size_t num_positions = 0 |
category_perf.cc の 49 行で定義されています。
bool verbose = false |
category_perf.cc の 45 行で定義されています。
bool very_verbose = false |
category_perf.cc の 46 行で定義されています。