Loading...
Searching...
No Matches
PrecomputedSequence.h
An abstract class for deterministic sequences in arbitrary dimensions.
Definition DeterministicSequence.h:48
General realization for a sampler of precomputed sequences or sets.
Definition PrecomputedSequence.h:50
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:64
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:52