Class HaltonSequence

Inheritance Relationships

Base Type

Class Documentation

class HaltonSequence : public ompl::base::DeterministicSequence

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

Public 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.

virtual std::vector<double> sample() override

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