osl の実行環境に関する指定 [詳細]
#include <oslConfig.h>
Static Public メソッド | |
static const std::string & | home () |
compile時に指定されたディレクトリを返す. | |
static const char * | home_c_str () |
static const std::string | gpsusiConf () |
static const std::string | test () |
テストケースのデータ | |
static const char * | testFile (const std::string &filename) |
static const char * | testCsaFile (const std::string &filename) |
static const char * | openingBook (const std::string &filenamme="") |
標準の定跡ファイルを返す | |
static void | setVerbose (bool verbose) |
static bool | verbose () |
static void | showOslHome () |
static void | setNumCPUs (int ncpu) |
static int | numCPUs () |
static bool | usiMode () |
static void | setUsiMode (bool enable=true) |
static bool | usiModeInSilent () |
static void | setUsiSilent (bool silent=true) |
static size_t | residentMemoryUse () |
static size_t | memoryUseLimit () |
static void | setMemoryUseLimit (size_t limit) |
static double | memoryUseRatio () |
static bool | isMemoryLimitEffective () |
static unsigned int | evalRandom () |
static void | setEvalRandom (unsigned int sigma) |
static bool | useLogLinearProbability () |
static void | enableLogLinearProbability (bool enabled) |
only effective before the first call of useLogLinearProbability() | |
static void | setUsiOutputPawnValue (int new_value) |
static int | usiOutputPawnValue () |
static bool | forceRootNullWindow () |
static int | rootNullWindow () |
static void | setRootNullWindow (int value) |
static void | resetRootNullWindow () |
Static Public 変数 | |
static const int | MaxThreads = 16 |
static boost::mutex | lock_io |
Static Private メソッド | |
static const std::string | makeHome () |
static const std::string | makeTest () |
static bool | isGoodDir (const std::string &) |
static void | trySetDir (std::string &, const std::string &) |
static void | showOslHome (const std::string &) |
Static Private 変数 | |
static size_t | memory_use_limit = system_memory_use_limit() |
static const size_t | memory_use_limit_system_max |
static unsigned int | eval_random = 0 |
static bool | is_verbose = false |
static const int | default_ncpus = osl::misc::ncores() |
static int | num_cpu = default_ncpus |
static volatile bool | usi_mode = false |
static volatile bool | usi_mode_silent = false |
static volatile bool | use_log_linear_probability = false |
static int | usi_output_pawn_value = 100 |
static volatile bool | force_root_null_window = false |
static volatile int | root_null_window = 0 |
osl の実行環境に関する指定
oslConfig.h の 14 行で定義されています。
void osl::OslConfig::enableLogLinearProbability | ( | bool | enabled | ) | [static] |
only effective before the first call of useLogLinearProbability()
oslConfig.cc の 165 行で定義されています。
static unsigned int osl::OslConfig::evalRandom | ( | ) | [inline, static] |
oslConfig.h の 58 行で定義されています。
参照先 eval_random.
参照元 osl::search::QuiescenceSearch2< EvalT >::searchMain(), と osl::game_playing::SearchPlayer::setUpTable().
static bool osl::OslConfig::forceRootNullWindow | ( | ) | [inline, static] |
const std::string osl::OslConfig::gpsusiConf | ( | ) | [static] |
oslConfig.cc の 232 行で定義されています。
参照先 makeHome().
const std::string & osl::OslConfig::home | ( | ) | [static] |
compile時に指定されたディレクトリを返す.
実行時の指定は環境変数で
oslConfig.cc の 221 行で定義されています。
参照先 makeHome().
参照元 osl::rating::CaptureSet::CaptureSet(), home_c_str(), makeTest(), openingBook(), osl::eval::ppair::PiecePairEvalTableBase< Table >::setUp(), osl::eval::ml::OpenMidEndingEval::setUp(), osl::progress::ml::NewProgress::setUp(), showOslHome(), と osl::rating::StandardFeatureSet::StandardFeatureSet().
const char * osl::OslConfig::home_c_str | ( | ) | [static] |
oslConfig.cc の 227 行で定義されています。
参照先 home().
bool osl::OslConfig::isGoodDir | ( | const std::string & | dir | ) | [static, private] |
oslConfig.cc の 181 行で定義されています。
参照元 trySetDir().
static bool osl::OslConfig::isMemoryLimitEffective | ( | ) | [inline, static] |
oslConfig.h の 52 行で定義されています。
参照先 memory_use_limit, memory_use_limit_system_max, と residentMemoryUse().
参照元 search().
const std::string osl::OslConfig::makeHome | ( | ) | [static, private] |
oslConfig.cc の 198 行で定義されています。
参照先 result, showOslHome(), trySetDir(), と verbose().
参照元 gpsusiConf(), と home().
const std::string osl::OslConfig::makeTest | ( | ) | [static, private] |
static size_t osl::OslConfig::memoryUseLimit | ( | ) | [inline, static] |
static double osl::OslConfig::memoryUseRatio | ( | ) | [inline, static] |
int osl::OslConfig::numCPUs | ( | ) | [static] |
oslConfig.cc の 127 行で定義されています。
参照先 num_cpu.
const char * osl::OslConfig::openingBook | ( | const std::string & | filenamme = "" |
) | [static] |
標準の定跡ファイルを返す
filename | specify to use non-standard file (absolute path, or home()/data/filename otherwise) |
oslConfig.cc の 315 行で定義されています。
参照先 home().
static void osl::OslConfig::resetRootNullWindow | ( | ) | [inline, static] |
oslConfig.h の 73 行で定義されています。
size_t osl::OslConfig::residentMemoryUse | ( | ) | [static] |
oslConfig.cc の 334 行で定義されています。
static int osl::OslConfig::rootNullWindow | ( | ) | [inline, static] |
static void osl::OslConfig::setEvalRandom | ( | unsigned int | sigma | ) | [inline, static] |
oslConfig.h の 59 行で定義されています。
参照先 eval_random.
static void osl::OslConfig::setMemoryUseLimit | ( | size_t | limit | ) | [inline, static] |
oslConfig.h の 47 行で定義されています。
参照先 memory_use_limit.
void osl::OslConfig::setNumCPUs | ( | int | ncpu | ) | [static] |
oslConfig.cc の 118 行で定義されています。
参照先 MaxThreads, と num_cpu.
static void osl::OslConfig::setRootNullWindow | ( | int | value | ) | [inline, static] |
oslConfig.h の 68 行で定義されています。
void osl::OslConfig::setUsiMode | ( | bool | enable = true |
) | [static] |
oslConfig.cc の 146 行で定義されています。
参照先 usi_mode.
static void osl::OslConfig::setUsiOutputPawnValue | ( | int | new_value | ) | [inline, static] |
oslConfig.h の 64 行で定義されています。
void osl::OslConfig::setUsiSilent | ( | bool | silent = true |
) | [static] |
void osl::OslConfig::setVerbose | ( | bool | verbose | ) | [static] |
oslConfig.cc の 132 行で定義されています。
参照先 is_verbose.
void osl::OslConfig::showOslHome | ( | const std::string & | home | ) | [static, private] |
oslConfig.cc の 170 行で定義されています。
参照先 OSL_WORDSIZE.
void osl::OslConfig::showOslHome | ( | ) | [static] |
const std::string osl::OslConfig::test | ( | ) | [static] |
const char * osl::OslConfig::testCsaFile | ( | const std::string & | filename | ) | [static] |
oslConfig.cc の 305 行で定義されています。
参照先 test().
const char * osl::OslConfig::testFile | ( | const std::string & | filename | ) | [static] |
oslConfig.cc の 295 行で定義されています。
参照先 test().
void osl::OslConfig::trySetDir | ( | std::string & | dir, | |
const std::string & | candidate | |||
) | [static, private] |
bool osl::OslConfig::useLogLinearProbability | ( | ) | [static] |
bool osl::OslConfig::usiMode | ( | ) | [static] |
oslConfig.cc の 142 行で定義されています。
参照先 usi_mode.
参照元 osl::search::AlphaBeta2< EvalT >::AlphaBeta2(), osl::search::AlphaBeta2< EvalT >::computeBestMoveIteratively(), osl::game_playing::SpeculativeSearchPlayer::pushMove(), osl::game_playing::SpeculativeSearchPlayer::selectBestMove(), osl::search::AlphaBeta2Tree< EvalT >::showPV(), osl::game_playing::SpeculativeAllMoves::SearchAllMoves::stopOtherThan(), と osl::game_playing::SpeculativeAllMoves::waitResult().
bool osl::OslConfig::usiModeInSilent | ( | ) | [static] |
oslConfig.cc の 150 行で定義されています。
参照先 usi_mode_silent.
参照元 osl::search::UsiReporter::hashInfo(), osl::search::UsiReporter::newDepth(), osl::search::UsiMonitor::rootForcedMove(), osl::search::UsiMonitor::rootLossByCheckmate(), osl::search::UsiReporter::rootMove(), osl::search::UsiReporter::showPV(), と osl::search::UsiReporter::timeInfo().
static int osl::OslConfig::usiOutputPawnValue | ( | ) | [inline, static] |
bool osl::OslConfig::verbose | ( | ) | [static] |
oslConfig.cc の 137 行で定義されています。
参照先 is_verbose.
参照元 osl::eval::ppair::PiecePairRawTable::loadFromBinaryFile(), makeHome(), と trySetDir().
const int osl::OslConfig::default_ncpus = osl::misc::ncores() [static, private] |
oslConfig.h の 84 行で定義されています。
unsigned int osl::OslConfig::eval_random = 0 [static, private] |
oslConfig.h の 82 行で定義されています。
参照元 evalRandom(), と setEvalRandom().
volatile bool osl::OslConfig::force_root_null_window = false [static, private] |
oslConfig.h の 89 行で定義されています。
参照元 forceRootNullWindow(), resetRootNullWindow(), と setRootNullWindow().
bool osl::OslConfig::is_verbose = false [static, private] |
oslConfig.h の 83 行で定義されています。
参照元 setVerbose(), と verbose().
boost::mutex osl::OslConfig::lock_io [static] |
oslConfig.h の 92 行で定義されています。
参照元 osl::search::AlphaBeta2Tree< EvalT >::addMultiPV(), osl::search::AlphaBeta2< EvalT >::alphaBetaSearchRoot(), osl::search::AlphaBeta2Tree< EvalT >::examineMovesRoot(), osl::search::SearchTimer::testAndUpdateNextTimeTest(), と osl::search::AlphaBeta2Tree< EvalT >::updateRootPV().
const int osl::OslConfig::MaxThreads = 16 [static] |
oslConfig.h の 16 行で定義されています。
参照元 osl::misc::ncores(), と setNumCPUs().
size_t osl::OslConfig::memory_use_limit = system_memory_use_limit() [static, private] |
oslConfig.h の 80 行で定義されています。
参照元 isMemoryLimitEffective(), memoryUseLimit(), と setMemoryUseLimit().
const size_t osl::OslConfig::memory_use_limit_system_max [static, private] |
int osl::OslConfig::num_cpu = default_ncpus [static, private] |
oslConfig.h の 85 行で定義されています。
参照元 numCPUs(), と setNumCPUs().
volatile int osl::OslConfig::root_null_window = 0 [static, private] |
oslConfig.h の 90 行で定義されています。
参照元 rootNullWindow(), と setRootNullWindow().
volatile bool osl::OslConfig::use_log_linear_probability = false [static, private] |
oslConfig.h の 86 行で定義されています。
参照元 enableLogLinearProbability(), と useLogLinearProbability().
volatile bool osl::OslConfig::usi_mode = false [static, private] |
oslConfig.h の 86 行で定義されています。
参照元 setUsiMode(), と usiMode().
volatile bool osl::OslConfig::usi_mode_silent = false [static, private] |
oslConfig.h の 86 行で定義されています。
参照元 setUsiSilent(), と usiModeInSilent().
int osl::OslConfig::usi_output_pawn_value = 100 [static, private] |
oslConfig.h の 88 行で定義されています。