|
OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
|
#include <SampleSequence.h>
Public Member Functions | |
| SampleSequence (T lower, T upper, size_t modulo, int nSample) | |
| void | create (std::shared_ptr< SampleIndividual > &ind, size_t i) |
| virtual void | allocate (const CmdArguments_t &, const Comm::Bundle_t &) |
Private Attributes | |
| T | lowerLimit_m |
| double | stepSize_m |
| unsigned int | numSamples_m |
| size_t | volumeLowerDimensions_m |
Definition at line 28 of file SampleSequence.h.
|
inline |
Definition at line 33 of file SampleSequence.h.
References lowerLimit_m, numSamples_m, stepSize_m, and volumeLowerDimensions_m.
|
inlinevirtualinherited |
Allocate memory for sampling. Not every sampling method requires that.
This function is used to reduce memory since only the sampler ranks need these sampling methods.
| args | samler arguments |
| comm | sampler communicator |
Reimplemented in FromFile, LatinHyperCube, Normal, SampleRandomizedSequence< T >, Uniform< T >, and Uniform< size_t >.
Definition at line 49 of file SamplingMethod.h.
|
inlinevirtual |
Implements SamplingMethod.
Definition at line 40 of file SampleSequence.h.
References lowerLimit_m, numSamples_m, stepSize_m, and volumeLowerDimensions_m.
|
private |
Definition at line 50 of file SampleSequence.h.
Referenced by create(), and SampleSequence().
|
private |
Definition at line 52 of file SampleSequence.h.
Referenced by create(), and SampleSequence().
|
private |
Definition at line 51 of file SampleSequence.h.
Referenced by create(), and SampleSequence().
|
private |
Definition at line 53 of file SampleSequence.h.
Referenced by create(), and SampleSequence().