The RNG category. More...
#include <rng.h>
Public Member Functions | |
CCategory (const std::string &str_id, UInt32 un_seed) | |
Class constructor. More... | |
virtual | ~CCategory () |
Class destructor. More... | |
const std::string & | GetId () const throw () |
Returns the id of the category. More... | |
void | SetId (const std::string &str_id) |
Sets the new id of the category. More... | |
UInt32 | GetSeed () const |
Returns the seed of the category. More... | |
void | SetSeed (UInt32 un_seed) |
Sets the new seed of the category. More... | |
CRNG * | CreateRNG () |
Creates a new RNG inside this category. More... | |
void | ResetRNGs () |
Resets the RNGs in this category. More... | |
void | ReseedRNGs () |
Sets new seed for the RNGs in this category. More... | |
The RNG category.
This class stores a specific category of RNGs.
argos::CRandom::CCategory::CCategory | ( | const std::string & | str_id, |
UInt32 | un_seed | ||
) |
|
virtual |
CRandom::CRNG * argos::CRandom::CCategory::CreateRNG | ( | ) |
|
inline |
|
inline |
void argos::CRandom::CCategory::ReseedRNGs | ( | ) |
void argos::CRandom::CCategory::ResetRNGs | ( | ) |
|
inline |