#include <random.h>
Public 型 | |
typedef boost::mt19937 | base_type |
alias of the randome engine object type. | |
Public メソッド | |
void | seed (base_type::result_type value) |
apply new seed to random engine. | |
base_type & | get () |
get engine object | |
Static Public メソッド | |
static RandomEngine & | instance () |
singleton interface. |
static RandomEngine& rcsc::RandomEngine::instance | ( | ) | [inline, static] |
singleton interface.
void rcsc::RandomEngine::seed | ( | base_type::result_type | value | ) | [inline] |
apply new seed to random engine.
value | seed value |
base_type& rcsc::RandomEngine::get | ( | ) | [inline] |
get engine object