CSA形式. More...
| Classes | |
| struct | CsaIOError | 
| class | InputStream | 
| class | CsaFile | 
| class | CsaString | 
| Functions | |
| const Move | strToMove (const std::string &s, const state::SimpleState &st) | 
| Player | charToPlayer (char c) | 
| const Square | strToPos (const std::string &s) | 
| Ptype | strToPtype (const std::string &s) | 
| const std::string | show (Move) | 
| const std::string | fancyShow (Move) | 
| const std::string | show (Square) | 
| const std::string | show (Ptype) | 
| const std::string | show (Piece) | 
| const std::string | show (Player) | 
| const std::string | show (const Move *first, const Move *last) | 
| const std::string | show (Move, std::string &buf) | 
| const std::string | show (Square, std::string &buf, size_t offset=0) | 
| const std::string | show (Ptype, std::string &buf, size_t offset=0) | 
| const std::string | show (Player, std::string &buf, size_t offset=0) | 
CSA形式.
| osl::Player osl::record::csa::charToPlayer | ( | char | c) | 
Definition at line 14 of file csa.cc.
References osl::BLACK, and osl::WHITE.
| const std::string osl::record::csa::fancyShow | ( | Move | move) | 
Definition at line 137 of file csa.cc.
References osl::Move::capturePtype(), osl::Move::isNormal(), osl::Move::isPromotion(), osl::PTYPE_EMPTY, and show().
| const std::string osl::record::csa::show | ( | Move | move) | 
Definition at line 129 of file csa.cc.
Referenced by osl::search::SearchState2Core::abort(), osl::move_probability::FeatureSet::analyze(), osl::checkmate::Dfpn::analyze(), osl::checkmate::Dfpn::attack(), checkmate_attack(), osl::search::AlphaBeta2< EvalT >::computeBestMoveIteratively(), convert(), osl::game_playing::UsiResponse::csamove(), osl::csaShow(), osl::search::SimpleHashRecord::dump(), osl::search::QuiescenceRecord::dump(), fancyShow(), find_all(), find_bad_moves(), osl::search::AlphaBeta2< EvalT >::findCheckmateInPV(), osl::game_playing::UsiResponse::generateGoodMoves(), osl::game_playing::GameManager::load(), main(), RecordPrinter2::noChildMove(), osl::game_playing::SpeculativeAllMoves::SearchAllMoves::Generator::pickUpMove(), printNextMoves(), osl::game_playing::CsaClient::processComputerMove(), processRecord(), qsearch(), osl::game_playing::CsaClient::readAndProcessCommand(), osl::search::UsiReporter::rootMove(), run(), search(), Analyzer::search(), osl::search::AlphaBeta3::searchRoot(), osl::game_playing::SpeculativeSearchPlayer::selectBestMove(), osl::game_playing::WeightTracer::selectMoveAtRandom(), osl::game_playing::HistoryToTable::setPV(), osl::record::myshogi::show(), show(), osl::record::usi::show(), osl::record::psn::show(), show(), osl::ptl::PtypeList< T, U >::show(), osl::game_playing::SpeculativeAllMoves::ResultVector::show(), show_history(), show_moves(), osl::state::NumEffectState::showEffect(), osl::search::AlphaBeta2Tree< EvalT >::showFailLow(), osl::search::AlphaBeta2SharedRoot::showLastPv(), osl::search::UsiReporter::showPV(), osl::search::CerrMonitor::showPV(), osl::search::AlphaBeta2Tree< EvalT >::showPV(), osl::search::UsiReporter::showPVExtended(), osl::record::psn::showXP(), osl::game_playing::SpeculativeAllMoves::SearchAllMoves::stopOtherThan(), osl::game_playing::SpeculativeAllMoves::SearchAllMoves::testMove(), testWinOrLose(), osl::game_playing::RecordTracer::update(), osl::game_playing::WeightTracer::update(), RecordPrinter::withChildMove(), RecordPrinter2::withChildMove(), write_file(), and osl::stat::Histogram::~Histogram().
| const std::string osl::record::csa::show | ( | Square | position) | 
| const std::string osl::record::csa::show | ( | Ptype | ptype) | 
| const std::string osl::record::csa::show | ( | Piece | piece) | 
Definition at line 171 of file csa.cc.
References osl::PieceTable::getPtypeOf(), osl::Piece::isEdge(), osl::Piece::isEmpty(), osl::isPiece(), osl::Piece::isPiece(), osl::Piece::number(), osl::Piece::owner(), osl::Piece_Table, osl::Piece::ptype(), show(), and osl::unpromote().
| const std::string osl::record::csa::show | ( | Player | player) | 
| const std::string osl::record::csa::show | ( | const Move * | first, | 
| const Move * | last | ||
| ) | 
Definition at line 185 of file csa.cc.
References osl::Move::isInvalid(), out, and show().
| const std::string osl::record::csa::show | ( | Move | move, | 
| std::string & | buf | ||
| ) | 
Definition at line 84 of file csa.cc.
References osl::Move::from(), osl::Move::isInvalid(), osl::Move::isPass(), osl::Move::player(), osl::Move::ptype(), show(), and osl::Move::to().
| const std::string osl::record::csa::show | ( | Square | pos, | 
| std::string & | buf, | ||
| size_t | offset = 0 | ||
| ) | 
Definition at line 102 of file csa.cc.
References osl::Square::isPieceStand(), osl::Square::x(), and osl::Square::y().
| const std::string osl::record::csa::show | ( | Ptype | ptype, | 
| std::string & | buf, | ||
| size_t | offset = 0 | ||
| ) | 
Definition at line 119 of file csa.cc.
References osl::PtypeTable::getCsaName(), and osl::Ptype_Table.
| const std::string osl::record::csa::show | ( | Player | player, | 
| std::string & | buf, | ||
| size_t | offset = 0 | ||
| ) | 
Definition at line 76 of file csa.cc.
References osl::BLACK.
| const Move osl::record::csa::strToMove | ( | const std::string & | s, | 
| const state::SimpleState & | st | ||
| ) | 
Referenced by main(), and osl::game_playing::CsaClient::readAndProcessCommand().
| const osl::Square osl::record::csa::strToPos | ( | const std::string & | s) | 
| osl::Ptype osl::record::csa::strToPtype | ( | const std::string & | s) | 
Definition at line 34 of file csa.cc.
References osl::PtypeTable::getCsaName(), and osl::Ptype_Table.
 1.8.4
 1.8.4