構造体 osl::OslConfig

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 行で定義されています。

参照先 use_log_linear_probability.

static unsigned int osl::OslConfig::evalRandom (  )  [inline, static]
戻り値:
standard deviation of normal distribution

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]
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]

oslConfig.cc の 249 行で定義されています。

参照先 home(), result, と trySetDir().

参照元 test().

static size_t osl::OslConfig::memoryUseLimit (  )  [inline, static]

oslConfig.h の 46 行で定義されています。

参照先 memory_use_limit.

参照元 main(), と memoryUseRatio().

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 行で定義されています。

参照先 force_root_null_window.

size_t osl::OslConfig::residentMemoryUse (  )  [static]

oslConfig.cc の 334 行で定義されています。

参照元 isMemoryLimitEffective(), main(), と memoryUseRatio().

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 行で定義されています。

参照先 force_root_null_window, と root_null_window.

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 行で定義されています。

参照先 usi_output_pawn_value.

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]

oslConfig.cc の 176 行で定義されています。

参照先 home().

参照元 makeHome().

const std::string osl::OslConfig::test (  )  [static]

テストケースのデータ

oslConfig.cc の 262 行で定義されています。

参照先 makeTest().

参照元 testCsaFile(), と testFile().

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]

oslConfig.cc の 187 行で定義されています。

参照先 isGoodDir(), と verbose().

参照元 makeHome(), と makeTest().

bool osl::OslConfig::useLogLinearProbability (  )  [static]
bool osl::OslConfig::usiMode (  )  [static]
bool osl::OslConfig::usiModeInSilent (  )  [static]
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]
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]
初期値:

oslConfig.h の 81 行で定義されています。

参照元 isMemoryLimitEffective().

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 行で定義されています。

参照元 setUsiOutputPawnValue(), と usiOutputPawnValue().


この構造体の説明は次のファイルから生成されました:
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 フレンド マクロ定義
Sun May 16 09:57:48 2010に生成されました。  doxygen 1.6.3