Definition in file GoGtpCommandUtil.cpp.
#include "SgSystem.h"
#include "GoGtpCommandUtil.h"
#include <limits>
#include "GoBoard.h"
#include "GtpEngine.h"
#include "SgDebug.h"
#include "SgPointArray.h"
Go to the source code of this file.
Functions | |
bool | LessAnalyzeLabel (const string &line1, const string &line2) |
Comparison of gogui-analyze_commands lines for SortResponseAnalyzeCommands. | |
SgEmptyBlackWhite | GoGtpCommandUtil::EmptyBlackWhiteArg (const GtpCommand &cmd, std::size_t number) |
SgBlackWhite | GoGtpCommandUtil::BlackWhiteArg (const GtpCommand &cmd, std::size_t number) |
SgPoint | GoGtpCommandUtil::EmptyPointArg (const GtpCommand &cmd, std::size_t number, const GoBoard &board) |
SgVector< SgPoint > | GoGtpCommandUtil::GetHandicapStones (int size, int n) |
Return the handicap stone locations as defined by the GTP standard. | |
SgMove | GoGtpCommandUtil::MoveArg (const GtpCommand &cmd, std::size_t number, const GoBoard &board) |
void | GoGtpCommandUtil::ParseMultiStoneArgument (GtpCommand &cmd, const GoBoard &board, SgBlackWhite &toPlay, SgBlackWhite &defender, SgVector< SgPoint > &crucial) |
Parse argument list consisting of toPlay followed by list of stones. | |
SgPoint | GoGtpCommandUtil::PointArg (const GtpCommand &cmd, const GoBoard &board) |
SgPoint | GoGtpCommandUtil::PointArg (const GtpCommand &cmd, std::size_t number, const GoBoard &board) |
SgVector< SgPoint > | GoGtpCommandUtil::PointListArg (const GtpCommand &cmd, std::size_t number, const GoBoard &board) |
Return point list argument starting a given argument number to the end of arguments. | |
void | GoGtpCommandUtil::RespondNumberArray (GtpCommand &cmd, const SgPointArray< int > &array, int scale, const GoBoard &board) |
string | GoGtpCommandUtil::SortResponseAnalyzeCommands (const std::string &response) |
Sort response to gogui-analyze_commands alphabetically by label. | |
SgPoint | GoGtpCommandUtil::StoneArg (const GtpCommand &cmd, std::size_t number, const GoBoard &board) |
bool @8::LessAnalyzeLabel | ( | const string & | line1, | |
const string & | line2 | |||
) | [static] |
Comparison of gogui-analyze_commands lines for SortResponseAnalyzeCommands.
Definition at line 25 of file GoGtpCommandUtil.cpp.
References SG_ASSERT.
Referenced by GoGtpCommandUtil::SortResponseAnalyzeCommands().