Loading...
Searching...
No Matches
ompl::base::HaltonSequence Class Reference

Realization of the Halton sequence for the generation of arbitrary dimensional, low-dispersion sequences. More...

#include <ompl/base/samplers/deterministic/HaltonSequence.h>

Inheritance diagram for ompl::base::HaltonSequence:

Public Member Functions

 HaltonSequence (unsigned int dimensions)
 Constructor, only specifiying the dimensions, first n primes will be used as bases.
 HaltonSequence (unsigned int dimensions, std::vector< unsigned int > bases)
 Constructor, for which the bases vector will be used to initialize the bases of the 1D halton sequences. bases.size() has to be equal to dimensions.
std::vector< double > sample () override
 Returns the next sample in the interval [0,1].
Public Member Functions inherited from ompl::base::DeterministicSequence
 DeterministicSequence (unsigned int dimensions)
 Constructor.

Additional Inherited Members

Public Attributes inherited from ompl::base::DeterministicSequence
const unsigned int dimensions_

Detailed Description

Realization of the Halton sequence for the generation of arbitrary dimensional, low-dispersion sequences.

Definition at line 81 of file HaltonSequence.h.

Constructor & Destructor Documentation

◆ HaltonSequence() [1/2]

ompl::base::HaltonSequence::HaltonSequence ( unsigned int dimensions)

Constructor, only specifiying the dimensions, first n primes will be used as bases.

Definition at line 77 of file HaltonSequence.cpp.

◆ HaltonSequence() [2/2]

ompl::base::HaltonSequence::HaltonSequence ( unsigned int dimensions,
std::vector< unsigned int > bases )

Constructor, for which the bases vector will be used to initialize the bases of the 1D halton sequences. bases.size() has to be equal to dimensions.

Definition at line 83 of file HaltonSequence.cpp.

Member Function Documentation

◆ sample()

std::vector< double > ompl::base::HaltonSequence::sample ( )
overridevirtual

Returns the next sample in the interval [0,1].

Implements ompl::base::DeterministicSequence.

Definition at line 101 of file HaltonSequence.cpp.


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