rating-perf.cc

rating付加の速度を測る [詳細]

#include "osl/rating/featureSet.h"
#include "osl/rating/ratingEnv.h"
#include "osl/eval/progressEval.h"
#include "osl/effect_util/sendOffPosition.h"
#include "osl/effect_util/effectUtil.h"
#include "osl/record/csaRecord.h"
#include "osl/record/csaIOError.h"
#include "osl/apply_move/applyMove.h"
#include "osl/stat/average.h"
#include "osl/misc/perfmon.h"
#include <boost/format.hpp>
#include <string>
#include <iostream>
#include <iomanip>
#include <cmath>
#include <cstdio>
rating-perf.ccのインクルード依存関係図

ソースコードを見る。

関数

void usage (const char *prog)
void test_file (const FeatureSet &, const char *filename)
int main (int argc, char **argv)
void test_position (const FeatureSet &f, Move next_move, Move last_move, const RatingEnv &env, const NumEffectState &state)

変数

size_t first_skip = 0
bool verbose = false
stat::Average moves
stat::Average cycles
stat::Average cycles_per_move
stat::Average probs
stat::Average order
stat::Average top_score
stat::Average selected_score
int min_selected = 1000
size_t num_positions = 0

説明

rating付加の速度を測る

rating-perf.cc で定義されています。


関数

int main ( int  argc,
char **  argv 
)

rating-perf.cc42 行で定義されています。

参照先 first_skip, osl::stat::Average::getAverage(), min_selected, test_file(), usage(), と verbose.

void test_file ( const FeatureSet f,
const char *  filename 
)
void test_position ( const FeatureSet f,
Move  next_move,
Move  last_move,
const RatingEnv env,
const NumEffectState &  state 
)
void usage ( const char *  prog  ) 

rating-perf.cc26 行で定義されています。


変数

rating-perf.cc37 行で定義されています。

参照元 osl::misc::PerfMon::stop().

rating-perf.cc37 行で定義されています。

size_t first_skip = 0

rating-perf.cc34 行で定義されています。

参照元 main(), test_file(), と test_record().

int min_selected = 1000

rating-perf.cc38 行で定義されています。

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

rating-perf.cc37 行で定義されています。

参照元 osl::rating::BradleyTerry::accumulate(), osl::rating::BradleyTerry::addPosition(), osl::search::HashRejections::addRejection(), osl::search::HashRejections::addRejectionRoot(), osl::search::AlphaBeta2< EvalT >::alphaBetaSearchRoot(), analyzeCheckmate(), osl::checkmate::ProofTreeDepthDfpn::andNode(), osl::checkmate::FixedDepthSearcher2::attack(), osl::checkmate::FixedDepthSearcher::attack(), osl::ntesuki::NtesukiSimulationSearcher::attackForDisproof(), osl::ntesuki::NtesukiSearcher::attackWithOrder(), osl::ntesuki::NtesukiRecord::calcProofPiecesAnd(), osl::checkmate::CheckmateIfCapture::cannotCapture(), check_all(), osl::search::HashRejections::clearRejection(), osl::search::HashRejections::clearRejectionRoot(), osl::search::AlphaBeta2< EvalT >::computeBestMoveIteratively(), convert(), osl::ntesuki::OracleProverLight::defense(), osl::checkmate::FixedDepthSearcher2::defense(), osl::checkmate::FixedDepthSearcher::defense(), osl::ntesuki::NtesukiSimulationSearcher::defenseForProof(), osl::ntesuki::NtesukiSearcher::defenseWithPlayer(), doMain(), osl::search::BigramKillerMove::dump(), find_all(), find_bad_moves(), osl::ntesuki::NtesukiTable::Table::forEachRecordFrom(), osl::search::AlphaBeta3::generateAllMoves(), osl::search::BreakThreatmate::generateOpenRoad(), osl::rating::FeatureSet::generateRating(), 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::opening::WeightedBook::getParents(), osl::record::KisenIpxFile::getPlayer(), osl::record::KisenIpxFile::getRating(), osl::record::opening::WeightedBook::getStateIndex(), osl::record::KisenIpxFile::getTitle(), osl::ntesuki::NtesukiSearcher::handleInterpose(), osl::ntesuki::NtesukiSearcher::handleNonAttack(), osl::game_playing::GameManager::load(), main(), make_history(), osl::annotate::CheckmateForEscape::match(), osl::annotate::CheckmateForCapture::match(), nextMoves(), osl::search::AlphaBeta3::presearch(), printNextMoves(), process(), qsearch(), readFile(), run(), osl::record::KisenIpxWriter::save(), osl::record::OKisenStream::save(), Analyzer::search(), search(), osl::search::QuiescenceSearch2< EvalT >::searchMain(), osl::search::AlphaBeta3::searchRoot(), osl::game_playing::SearchPlayer::secondsForThisMove(), 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(), show(), show_moves(), showInfoOfState(), osl::ntesuki::NtesukiSearcher::simulateSiblingsFail(), osl::ntesuki::NtesukiSearcher::simulateSiblingsSuccess(), osl::search::QuiescenceSearch2< EvalT >::staticValueWithThreat(), store(), osl::record::KanjiMove::strToMove(), osl::search::QuiescenceSearch2< EvalT >::takeBackOrChase(), osl::search::QuiescenceSearch2< EvalT >::takeBackValue(), test_position(), osl::game_playing::WinCountTracer::update(), osl::game_playing::WeightTracer::update(), と osl::record::opening::WeightedBook::validate().

size_t num_positions = 0

rating-perf.cc90 行で定義されています。

参照元 test_position().

rating-perf.cc37 行で定義されています。

参照元 osl::ntesuki::NtesukiRecord::setResult(), show(), と test_position().

rating-perf.cc37 行で定義されています。

rating-perf.cc37 行で定義されています。

rating-perf.cc37 行で定義されています。

bool verbose = false

rating-perf.cc35 行で定義されています。

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