win-rate-openingbook-weight-level.cc

#include "osl/container/moveVector.h"
#include "osl/oslConfig.h"
#include "osl/game_playing/weightTracer.h"
#include "osl/record/csaRecord.h"
#include "osl/record/checkDuplicate.h"
#include "osl/record/opening/openingBook.h"
#include <boost/algorithm/string/trim.hpp>
#include <boost/foreach.hpp>
#include <boost/format.hpp>
#include <boost/multi_array.hpp>
#include <boost/program_options.hpp>
#include <fstream>
#include <iostream>
#include <vector>
win-rate-openingbook-weight-level.ccのインクルード依存関係図

ソースコードを見る。

構成

struct  WinLoss
struct  Result

列挙型

enum  GameResult {
  BLACK_WIN = 0, WHITE_WIN, OTHERS, BLACK_WIN = 0,
  WHITE_WIN, OTHERS
}

関数

std::ostream & operator<< (std::ostream &out, const WinLoss &wl)
osl::record::opening::WeightedBook book (osl::OslConfig::openingBook())
GameResult getGameResult (const std::string &csa_file, const vector< Move > &moves)
void increment (const vector< Move > &moves, const Player player, const bool win)
void readFile (const std::string &player_name, const std::string &csa_file, osl::record::CheckDuplicate &duplicates)
int main (int argc, char **argv)

変数

static Result result

列挙型

enum GameResult
列挙型の値:
BLACK_WIN 
WHITE_WIN 
OTHERS 
BLACK_WIN 
WHITE_WIN 
OTHERS 

win-rate-openingbook-weight-level.cc19 行で定義されています。


関数

osl::record::opening::WeightedBook book ( osl::OslConfig::  openingBook()  ) 

参照元 doMain(), increment(), と main().

GameResult getGameResult ( const std::string &  csa_file,
const vector< Move > &  moves 
)

win-rate-openingbook-weight-level.cc159 行で定義されています。

参照先 BLACK_WIN, OTHERS, と WHITE_WIN.

void increment ( const vector< Move > &  moves,
const Player  player,
const bool  win 
)
int main ( int  argc,
char **  argv 
)
std::ostream& operator<< ( std::ostream &  out,
const WinLoss wl 
)

win-rate-openingbook-weight-level.cc49 行で定義されています。

参照先 WinLoss::getRate(), WinLoss::losses, と WinLoss::wins.

void readFile ( const std::string &  player_name,
const std::string &  csa_file,
osl::record::CheckDuplicate duplicates 
)

変数

Result result [static]

win-rate-openingbook-weight-level.cc151 行で定義されています。

参照元 osl::ntesuki::NtesukiTable::Table::allocate(), osl::container::GeneralSimpleHashTable< Record >::Table::allocate(), osl::search::AlphaBeta2Tree< EvalT >::alphaBetaSearch(), osl::search::AlphaBeta2Tree< EvalT >::alphaBetaSearchAfterMove(), osl::search::AlphaBeta2< EvalT >::alphaBetaSearchRoot(), analyze_root(), osl::game_playing::AlphaBeta2OpenMidEndingEvalPlayer::analyzeWithSeconds(), osl::checkmate::ProofTreeDepthDfpn::andNode(), osl::checkmate::ProofPieces::attack(), osl::eval::ProgressEvalGeneral< OpeningEval >::calculateAttackBonusEach(), osl::eval::ProgressEvalGeneral< OpeningEval >::calculateAttackBonusOne(), osl::eval::ProgressEvalGeneral< OpeningEval >::calculateGoldPenalty(), osl::eval::ProgressEvalGeneral< OpeningEval >::calculateSilverPenalty(), osl::Move::capturePtype(), osl::search::MoveGenerator::captureValue(), osl::game_playing::GameState::clone(), osl::eval::ProgressEvalGeneral< progress_eval_opening_t >::composeValue(), osl::PositionCompressor::compress(), Searcher::count(), osl::effect_util::AdditionalOrShadow::count(), osl::search::SearchState2Core::countCheckAfterThreatmate(), osl::search::SearchState2Core::countCheckAfterThreatmateSacrifice(), osl::game_playing::CsaTime::curruntTime(), osl::checkmate::DisproofPieces::defense(), osl::rating::ImmediateAddSupport::Test::doAction(), osl::eval::ml::KnightFork::eval(), osl::eval::ml::BishopRookFork::eval(), osl::eval::ml::SilverFork::eval(), osl::eval::ml::PtypeYPawnY::eval(), osl::eval::ml::LanceEffectPieceKingRelative::eval(), osl::eval::ml::KnightHead::eval(), osl::eval::ml::PromotedMinorPieces::eval(), osl::eval::ml::PawnPtypeOPtypeO::eval(), osl::eval::ml::KnightCheck::eval(), osl::eval::ml::PtypeX::eval(), osl::eval::ml::PtypeY::eval(), osl::eval::ml::KnightAdvance::eval(), osl::eval::ml::GoldFeatures::eval(), osl::eval::ml::SilverFeatures::eval(), osl::eval::ml::PawnAdvance::eval(), osl::eval::ml::PawnDropBoth::eval(), osl::eval::ml::BishopStandFile5::eval(), osl::eval::ml::RookRookPiece::eval(), osl::eval::ml::RookRook::eval(), osl::eval::ml::BishopBishopPiece::eval(), osl::eval::ml::NumPiecesBetweenBishopAndKing::eval(), osl::eval::ml::BishopHead::eval(), osl::eval::ml::BishopEffectBase::eval(), osl::eval::ml::RookPromoteDefense::eval(), osl::eval::ml::RookEffectBase::eval(), osl::eval::ml::MajorGoldSilverAttacked< Opening >::eval(), osl::eval::ml::RookPawnY::eval(), osl::eval::ml::RookPawn< Opening >::eval(), osl::eval::ml::King25EmptyPositionNoEffectEnding::eval(), osl::eval::ml::King25EmptyPositionNoEffectOpening::eval(), osl::eval::ml::PtypeYY::eval(), osl::eval::ml::KingPieceRelativeNoSupport::eval(), osl::eval::ml::KingXBlocked3::eval(), osl::eval::ml::KingXBothBlocked::eval(), osl::eval::ml::King8EffectAll::eval(), osl::eval::ml::King8Effect::eval(), osl::eval::ml::King8EffectBase::evalCommon(), osl::eval::ml::PinPtypeAll::evalOne(), osl::eval::ml::GoldFeatures::evalOne(), osl::eval::ml::SilverFeatures::evalOne(), osl::eval::ml::KnightFork::evalOne(), osl::eval::ml::BishopRookFork::evalOne(), osl::eval::ml::GoldAndSilverNearKing::evalOne(), osl::eval::ml::NonPawnAttackedPtypePair::evalOne(), osl::eval::ml::KingRookBishop::evalOne(), osl::eval::ml::BishopEffectBase::evalOne(), osl::eval::ml::RookEffectBase::evalOne(), osl::eval::ml::MajorGoldSilverAttacked< Opening >::evalOne(), osl::eval::ml::King25EmptyAbs< Opening >::evalOne(), osl::eval::ml::King25EffectEach< Stage >::evalOne(), osl::eval::ml::King25EmptyPositionNoEffect::evalOne(), osl::eval::ml::AnagumaEmpty::evalOne(), osl::eval::ml::PieceStandY::evalWithUpdate(), osl::eval::ml::PawnDropBoth::evalWithUpdate(), osl::eval::ml::PawnPtypeOPtypeO::evalWithUpdate(), osl::eval::ml::PtypeX::evalWithUpdate(), osl::eval::ml::PtypeY::evalWithUpdate(), osl::eval::ml::PtypeYY::evalWithUpdate(), osl::eval::ml::KingPieceRelativeNoSupport::evalWithUpdate(), osl::eval::ml::King8EffectBase::evalWithUpdateCommon(), osl::search::QuiescenceSearch2< EvalT >::examineMoves(), osl::search::AlphaBeta2Tree< EvalT >::examineMovesRoot(), osl::search::QuiescenceSearch2< EvalT >::examineTakeBack(), osl::search::QuiescenceSearch2< EvalT >::examineTakeBack2(), osl::eval::PieceEval::expect(), osl::ntesuki::NtesukiRecord::find_split_right(), osl::checkmate::DfpnTable::List::findProofOracle(), osl::Move::from(), osl::search::QuiescenceSearch2< EvalT >::generateAndExamineTakeBack2(), osl::RepetitionCounter::getFirstMove(), osl::game_playing::CsaTime::getStart(), osl::ntesuki::NtesukiRecord::getValueOr(), osl::rating::ImmediateAddSupport::index(), osl::eval::ppair::PiecePairIndex::indexOf(), osl::PieceStand::isSuperiorOrEqualTo(), osl::eval::MinorPieceBonus::knightBonus(), osl::eval::MinorPieceBonus::lanceBonus(), osl::checkmate::ProofPieces::leaf(), osl::checkmate::DisproofPieces::leaf(), osl::checkmate::ProofNumberTable::libertyAfterAllDrop(), osl::checkmate::ProofNumberTable::libertyAfterAllMove(), osl::record::ki2::InputStream::load(), main(), make_history(), make_prob(), osl::effect_util::Pin::makeByPiece(), osl::effect_util::Pin::makeByPieceKing(), osl::OslConfig::makeHome(), osl::effect_util::Pin::makeNaive(), osl::OslConfig::makeTest(), osl::rating::ImmediateAddSupport::match(), osl::rating::Threatmate::match(), osl::Move::newAddFrom(), osl::Move::newFrom(), osl::PieceStand::nextStand(), osl::Move::oldPtypeO(), osl::container::operator&(), osl::misc::operator&(), osl::ntesuki::OracleProverLight::DefenseHelper< Searcher, P >::operator()(), osl::ntesuki::NtesukiSearcher::AttackHelper< Search, T >::operator()(), osl::search::AlphaBeta2Tree< EvalT >::NextMove< P >::operator()(), osl::search::AlphaBeta2Tree< EvalT >::NextQMove< P >::operator()(), osl::Position::operator+(), osl::Offset::operator+(), osl::misc::operator+(), osl::misc::CArrayIterator< T >::operator++(), osl::Position::operator-(), osl::Offset::operator-(), osl::misc::CArrayIterator< T >::operator--(), osl::misc::operator<<(), osl::misc::operator>>(), osl::misc::operator^(), osl::misc::operator|(), osl::container::operator|(), osl::search::QuiescenceSearch2< EvalT >::passValue(), osl::eval::MinorPieceBonus::pawnBonus(), osl::game_playing::SpeculativeAllMoves::SearchAllMoves::Generator::pickUpMove(), osl::Move::player(), osl::misc::PointerQueue< void >::pop_front(), osl::misc::PointerQueue< void >::pop_front_in_lock(), osl::game_playing::GameState::popMove(), osl::eval::ppair::PiecePairIndex::positionIndexOf(), osl::PieceStand::previousStand(), osl::checkmate::DfpnTable::List::probe(), osl::Move::ptype(), osl::Move::ptypeO(), osl::ptypeOIndex(), osl::game_playing::GameState::pushMove(), osl::search::AlphaBeta2Tree< EvalT >::quiesceExp(), osl::search::AlphaBeta2Tree< EvalT >::quiesceStable(), osl::search::AlphaBeta2Tree< EvalT >::quiesceWithMove(), rating_to_probability(), osl::game_playing::GnuShogiClient::readAndProcessCommand(), osl::game_playing::CsaClient::readAndProcessCommand(), osl::game_playing::SpeculativeAllMoves::SearchAllMoves::run(), osl::ntesuki::NtesukiSearcher::search(), search(), osl::search::AlphaBeta2Tree< EvalT >::searchAllMoves(), osl::search::QuiescenceSearch2< EvalT >::searchInternal(), osl::search::QuiescenceSearch2< EvalT >::searchIteratively(), osl::search::QuiescenceSearch2< EvalT >::searchMain(), osl::game_playing::SpeculativeSearchPlayer::selectBestMove(), osl::checkmate::Dfpn::Node::setCheckmateDefense(), osl::checkmate::Dfpn::setIllegal(), osl::checkmate::Dfpn::Node::setNoCheckmateAttack(), osl::eval::ppair::PiecePairEvalTableBase< Table >::setUp(), osl::record::psn::show(), osl::record::psn::showXP(), osl::misc::sjis2euc(), osl::game_playing::SpeculativeSearchPlayer::standardSearchSeconds(), osl::eval::ppair::PiecePairWithStand< Table >::standBonus(), osl::search::QuiescenceSearch2< EvalT >::staticValue(), osl::search::QuiescenceSearch2< EvalT >::staticValueWithThreat(), osl::container::PieceValues::sum(), osl::search::QuiescenceSearch2< EvalT >::takeBackOrChase(), osl::game_playing::SpeculativeAllMoves::SearchAllMoves::testMove(), osl::Move::to(), tos(), osl::rating::FeatureSet::tryLoad(), osl::progress::ml::NewProgress::updateNonPawnAttackedPtypePairOne(), osl::game_playing::SpeculativeAllMoves::waitResult(), と RecordPrinter2::withChildMove().

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