Public Member Functions | Private Attributes | List of all members
UniformRV1D< Engine > Class Template Reference

#include <random_utils.h>

Inheritance diagram for UniformRV1D< Engine >:
Inheritance graph
[legend]

Public Member Functions

std::unique_ptr< RandomVariable1D< Engine > > clone () const override
 
double sample (Engine &rnd_engine) override
 
 UniformRV1D (double from, double to)
 
- Public Member Functions inherited from RandomVariable1D< Engine >
virtual ~RandomVariable1D ()
 

Private Attributes

std::uniform_real_distribution _distr
 
double _from
 
double _to
 

Detailed Description

template<typename Engine>
class UniformRV1D< Engine >

Definition at line 37 of file random_utils.h.

Constructor & Destructor Documentation

template<typename Engine >
UniformRV1D< Engine >::UniformRV1D ( double  from,
double  to 
)
inline

Definition at line 39 of file random_utils.h.

Member Function Documentation

template<typename Engine >
std::unique_ptr<RandomVariable1D<Engine> > UniformRV1D< Engine >::clone ( ) const
inlineoverridevirtual

Implements RandomVariable1D< Engine >.

Definition at line 46 of file random_utils.h.

template<typename Engine >
double UniformRV1D< Engine >::sample ( Engine &  rnd_engine)
inlineoverridevirtual

Implements RandomVariable1D< Engine >.

Definition at line 42 of file random_utils.h.

Member Data Documentation

template<typename Engine >
std::uniform_real_distribution UniformRV1D< Engine >::_distr
private

Definition at line 53 of file random_utils.h.

template<typename Engine >
double UniformRV1D< Engine >::_from
private

Definition at line 51 of file random_utils.h.

template<typename Engine >
double UniformRV1D< Engine >::_to
private

Definition at line 52 of file random_utils.h.


The documentation for this class was generated from the following file:


slam_constructor
Author(s): JetBrains Research, OSLL team
autogenerated on Mon Jun 10 2019 15:08:26