PrecomputedSequence.cpp
52 PrecomputedSequence::PrecomputedSequence(std::string path, unsigned int dimensions, bool shuffle,
68 OMPL_WARN("Precomputed sequence sampler requested more samples than possible, will provide same "
73 ++current_index_; // out of bounds check is done on next sample, so that if there are n samples, sampling
std::vector< double > sample() override
Returns the next sample, loops if there are no more precomputed samples. The range of the samples dep...
Definition: PrecomputedSequence.cpp:128
PrecomputedSequence(std::string path, unsigned int dimensions, bool shuffle=false, size_t max_samples=0)
Constructor, requires the path of file containing the precomputed samples formated with one sample pe...
Definition: PrecomputedSequence.cpp:116