osl の実行環境に関する指定
More...
#include <oslConfig.h>
|
static const std::string | makeHome (const std::string &first_try="") |
|
static const std::string | makeTest () |
|
static const std::string | makeTestPublic () |
|
static bool | isGoodDir (const std::string &) |
|
static void | trySetDir (std::string &, const std::string &) |
|
static void | showOslHome (const std::string &) |
|
osl の実行環境に関する指定
Definition at line 18 of file oslConfig.h.
◆ UsiMode
Enumerator |
---|
NoUSI | |
PortableUSI | |
ExtendedUSI | |
Definition at line 49 of file oslConfig.h.
◆ concurrency()
int osl::OslConfig::concurrency |
( |
| ) |
|
|
static |
◆ configuration()
std::string osl::OslConfig::configuration |
( |
| ) |
|
|
static |
◆ dfpnMaxDepth()
int osl::OslConfig::dfpnMaxDepth |
( |
| ) |
|
|
static |
◆ evalRandom()
static unsigned int osl::OslConfig::evalRandom |
( |
| ) |
|
|
inlinestatic |
◆ gpsusiConf()
const std::string osl::OslConfig::gpsusiConf |
( |
| ) |
|
|
static |
◆ hasByoyomi()
bool osl::OslConfig::hasByoyomi |
( |
| ) |
|
|
static |
◆ healthCheck()
bool osl::OslConfig::healthCheck |
( |
| ) |
|
|
static |
◆ home()
const std::string & osl::OslConfig::home |
( |
const std::string & |
initialize_if_first_invocation = "" | ) |
|
|
static |
◆ home_c_str()
const char * osl::OslConfig::home_c_str |
( |
| ) |
|
|
static |
◆ inUnitTest()
static int osl::OslConfig::inUnitTest |
( |
| ) |
|
|
inlinestatic |
◆ inUnitTestLong()
static bool osl::OslConfig::inUnitTestLong |
( |
| ) |
|
|
inlinestatic |
◆ inUnitTestShort()
static bool osl::OslConfig::inUnitTestShort |
( |
| ) |
|
|
inlinestatic |
◆ isGoodDir()
bool osl::OslConfig::isGoodDir |
( |
const std::string & |
dir | ) |
|
|
staticprivate |
◆ isMemoryLimitEffective()
static bool osl::OslConfig::isMemoryLimitEffective |
( |
| ) |
|
|
inlinestatic |
◆ makeHome()
const std::string osl::OslConfig::makeHome |
( |
const std::string & |
first_try = "" | ) |
|
|
staticprivate |
◆ makeTest()
const std::string osl::OslConfig::makeTest |
( |
| ) |
|
|
staticprivate |
◆ makeTestPublic()
const std::string osl::OslConfig::makeTestPublic |
( |
| ) |
|
|
staticprivate |
◆ memoryUseLimit()
static size_t osl::OslConfig::memoryUseLimit |
( |
| ) |
|
|
inlinestatic |
◆ memoryUseRatio()
static double osl::OslConfig::memoryUseRatio |
( |
| ) |
|
|
inlinestatic |
◆ openingBook()
const char * osl::OslConfig::openingBook |
( |
const std::string & |
filenamme = "" | ) |
|
|
static |
標準の定跡ファイルを返す
- Parameters
-
filename | specify to use non-standard file (absolute path, or home()/data/filename otherwise) |
Definition at line 369 of file oslConfig.cc.
◆ registerInitializer()
void osl::OslConfig::registerInitializer |
( |
std::function< void()> |
f | ) |
|
|
static |
◆ residentMemoryUse()
size_t osl::OslConfig::residentMemoryUse |
( |
| ) |
|
|
static |
◆ resignThreshold()
int osl::OslConfig::resignThreshold |
( |
| ) |
|
|
static |
◆ searchExactValueInOneReply()
bool osl::OslConfig::searchExactValueInOneReply |
( |
| ) |
|
|
static |
◆ setDfpnMaxDepth()
void osl::OslConfig::setDfpnMaxDepth |
( |
int |
new_depth | ) |
|
|
static |
◆ setEvalRandom()
static void osl::OslConfig::setEvalRandom |
( |
unsigned int |
sigma | ) |
|
|
inlinestatic |
◆ setHasByoyomi()
void osl::OslConfig::setHasByoyomi |
( |
bool |
value | ) |
|
|
static |
◆ setInUnitTest()
static void osl::OslConfig::setInUnitTest |
( |
int |
new_value | ) |
|
|
inlinestatic |
◆ setMemoryUseLimit()
static void osl::OslConfig::setMemoryUseLimit |
( |
size_t |
limit | ) |
|
|
inlinestatic |
◆ setMemoryUsePercent()
static void osl::OslConfig::setMemoryUsePercent |
( |
double |
limit | ) |
|
|
inlinestatic |
◆ setNumCPUs()
void osl::OslConfig::setNumCPUs |
( |
int |
ncpu | ) |
|
|
static |
◆ setSearchExactValueInOneReply()
void osl::OslConfig::setSearchExactValueInOneReply |
( |
bool |
new_value | ) |
|
|
static |
◆ setUp()
void osl::OslConfig::setUp |
( |
| ) |
|
|
static |
◆ setUsiMode()
◆ setUsiOutputPawnValue()
static void osl::OslConfig::setUsiOutputPawnValue |
( |
int |
new_value | ) |
|
|
inlinestatic |
◆ setUsiSilent()
void osl::OslConfig::setUsiSilent |
( |
bool |
silent = true | ) |
|
|
static |
◆ setVerbose()
void osl::OslConfig::setVerbose |
( |
bool |
verbose | ) |
|
|
static |
◆ showOslHome() [1/2]
void osl::OslConfig::showOslHome |
( |
| ) |
|
|
static |
◆ showOslHome() [2/2]
void osl::OslConfig::showOslHome |
( |
const std::string & |
home | ) |
|
|
staticprivate |
◆ testCsaFile()
const char * osl::OslConfig::testCsaFile |
( |
const std::string & |
filename | ) |
|
|
static |
◆ testPrivate()
const std::string osl::OslConfig::testPrivate |
( |
| ) |
|
|
static |
◆ testPrivateFile()
const char * osl::OslConfig::testPrivateFile |
( |
const std::string & |
filename | ) |
|
|
static |
◆ testPublic()
const std::string osl::OslConfig::testPublic |
( |
| ) |
|
|
static |
◆ testPublicFile()
const char * osl::OslConfig::testPublicFile |
( |
const std::string & |
filename | ) |
|
|
static |
◆ trySetDir()
void osl::OslConfig::trySetDir |
( |
std::string & |
dir, |
|
|
const std::string & |
candidate |
|
) |
| |
|
staticprivate |
◆ usiMode()
◆ usiModeInSilent()
bool osl::OslConfig::usiModeInSilent |
( |
| ) |
|
|
static |
◆ usiOutputPawnValue()
static int osl::OslConfig::usiOutputPawnValue |
( |
| ) |
|
|
inlinestatic |
◆ verbose()
bool osl::OslConfig::verbose |
( |
| ) |
|
|
static |
◆ default_ncpus
const int osl::OslConfig::default_ncpus = std::thread::hardware_concurrency() |
|
staticprivate |
◆ dfpn_max_depth
int osl::OslConfig::dfpn_max_depth = 256 |
|
staticprivate |
◆ eval_random
unsigned int osl::OslConfig::eval_random = 0 |
|
staticprivate |
◆ force_root_window
volatile bool osl::OslConfig::force_root_window = false |
|
staticprivate |
◆ has_byoyomi
bool osl::OslConfig::has_byoyomi = false |
|
staticprivate |
◆ in_unit_test
volatile int osl::OslConfig::in_unit_test = 0 |
|
staticprivate |
◆ is_verbose
bool osl::OslConfig::is_verbose = false |
|
staticprivate |
◆ lock_io
std::mutex osl::OslConfig::lock_io |
|
static |
◆ MaxThreads
const int osl::OslConfig::MaxThreads =64 |
|
static |
◆ memory_use_limit
size_t osl::OslConfig::memory_use_limit = system_memory_use_limit() |
|
staticprivate |
◆ memory_use_limit_system_max
const size_t osl::OslConfig::memory_use_limit_system_max |
|
staticprivate |
◆ memory_use_percent
double osl::OslConfig::memory_use_percent = 100.0 |
|
staticprivate |
◆ num_cpu
◆ root_window_alpha
volatile int osl::OslConfig::root_window_alpha = 0 |
|
staticprivate |
◆ root_window_beta
volatile int osl::OslConfig::root_window_beta = 0 |
|
staticprivate |
◆ search_exact_value_in_one_reply
bool osl::OslConfig::search_exact_value_in_one_reply = false |
|
staticprivate |
◆ usi_mode
◆ usi_mode_silent
volatile bool osl::OslConfig::usi_mode_silent = false |
|
staticprivate |
◆ usi_output_pawn_value
int osl::OslConfig::usi_output_pawn_value = 100 |
|
staticprivate |
The documentation for this struct was generated from the following files: