Template Class RandomNumberEngineWrapper
Defined in File random.hpp
Inheritance Relationships
Base Type
public navtk::experimental::RandomNumberGenerator(Class RandomNumberGenerator)
Class Documentation
Wrapper implementing RandomNumberGenerator based on the C++
RandomNumberEnginenamed requirements.This provides the boilerplate to allow navtk to use any conforming implementation of
RandomNumberEngineas its source of randomness.This class uses
std::uniform_real_distributionto convert the values emitted by TEngine<> todouble.Public Functions
Default constructor.
- Returns
A single random number from a uniform distribution between 0 and 1.
Reset the state of the underlying random number generation algorithm.
- Parameters
seed – New seed value.
Public Members
Underlying C++-style
RandomNumberEngineinstance.
Conversion class to convert the engine’s integer output to doubles.