|
|
typedef CBPRNG | prng_type |
| |
|
typedef std::uint64_t | seed_type |
| |
|
typedef std::string | string_type |
| |
|
typedef std::map< std::string, prng_type > | streams_type |
| |
|
|
class | corsika::Singleton< RNGManager< CBPRNG > > |
| |
template<typename CBPRNG = random_iterator::philox>
class corsika::RNGManager< CBPRNG >
Definition at line 26 of file RNGManager.hpp.
◆ dumpState()
template<typename CBPRNG = random_iterator::philox>
dumps the names and states of all registered random-number streams into a std::stringstream.
◆ getRandomStream()
template<typename CBPRNG = random_iterator::philox>
returns the pre-stored stream of given name pStreamName if available
◆ isRegistered()
template<typename CBPRNG = random_iterator::philox>
Check whether a stream has been registered.
◆ registerRandomStream()
template<typename CBPRNG = random_iterator::philox>
This function is to be called by a module requiring a random-number stream during its initialization.
- Exceptions
-
| sth. | when stream pModuleName is already registered |
◆ Rngs()
template<typename CBPRNG = random_iterator::philox>
Non-constant access to the streams.
- Precondition
- Postcondition
- Returns
- RNGManager::streams_type&
Definition at line 83 of file RNGManager.hpp.
The documentation for this class was generated from the following file: