category_perf.cc

ƥӤ¬ [詳細]

#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>

category_perf.ccのインクルード依存関係図

ソースコードを見る。

構成

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.cc57 行で定義されています。


関数

int main ( int  argc,
char **  argv 
)

void show_table ( const map_t table  ) 

void test_file ( const char *  filename  ) 

פäƤ

category_perf.cc169 行で定義されています。

参照先 first_skip, history, osl::container::MoveStack::push(), state, と test_position().

参照元 main().

void test_position ( Move  next_move,
const NumEffectState &  state,
const MoveStack history 
)

void usage ( const char *  prog  ) 

category_perf.cc32 行で定義されています。


変数

bool all_moves = false

category_perf.cc47 行で定義されています。

category_perf.cc58 行で定義されています。

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

category_perf.cc49 行で定義されています。

参照元 main(), と osl::misc::PerfMon::stop().

category_perf.cc49 行で定義されています。

size_t first_skip = 0

category_perf.cc44 行で定義されています。

int limit = 1200

category_perf.cc43 行で定義されています。

category_perf.cc49 行で定義されています。

参照元 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().

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

size_t num_positions = 0

category_perf.cc138 行で定義されています。

参照元 show_table(), と test_position().

category_perf.cc49 行で定義されています。

bool verbose = false

category_perf.cc45 行で定義されています。

bool very_verbose = false

category_perf.cc46 行で定義されています。


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