Robotics Library  0.7.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
rl::plan::UniformSampler Class Reference

Uniform random sampling strategy. More...

#include <UniformSampler.h>

Inheritance diagram for rl::plan::UniformSampler:
Inheritance graph
[legend]

Public Member Functions

 UniformSampler ()
 
virtual ~UniformSampler ()
 
::rl::math::Vector generate ()
 
virtual void seed (const ::std::mt19937::result_type &value)
 
- Public Member Functions inherited from rl::plan::Sampler
 Sampler ()
 
virtual ~Sampler ()
 
virtual ::rl::math::Vector generateCollisionFree ()
 

Protected Member Functions

::std::uniform_real_distribution< ::rl::math::Real >::result_type rand ()
 

Protected Attributes

::std::uniform_real_distribution< ::rl::math::RealrandDistribution
 
::std::mt19937 randEngine
 

Additional Inherited Members

- Public Attributes inherited from rl::plan::Sampler
SimpleModelmodel
 

Detailed Description

Uniform random sampling strategy.

Constructor & Destructor Documentation

◆ UniformSampler()

rl::plan::UniformSampler::UniformSampler ( )

◆ ~UniformSampler()

rl::plan::UniformSampler::~UniformSampler ( )
virtual

Member Function Documentation

◆ generate()

rl::math::Vector rl::plan::UniformSampler::generate ( )
virtual

Implements rl::plan::Sampler.

◆ rand()

std::uniform_real_distribution<::rl::math::Real >::result_type rl::plan::UniformSampler::rand ( )
protected

◆ seed()

void rl::plan::UniformSampler::seed ( const ::std::mt19937::result_type &  value)
virtual

Reimplemented in rl::plan::GaussianSampler.

Member Data Documentation

◆ randDistribution

::std::uniform_real_distribution< ::rl::math::Real> rl::plan::UniformSampler::randDistribution
protected

◆ randEngine

::std::mt19937 rl::plan::UniformSampler::randEngine
protected

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