|
OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
|
#include <SampleRandomizedSequence.h>
Public Member Functions | |
| SampleRandomizedSequence (T lower, T upper, double step) | |
| SampleRandomizedSequence (T lower, T upper, double step, size_t seed) | |
| void | create (std::shared_ptr< SampleIndividual > &ind, size_t i) |
| void | allocate (const CmdArguments_t &args, const Comm::Bundle_t &comm) |
Private Attributes | |
| std::vector< T > | points_m |
| Uniform< size_t > | unif_m |
| T | lower_m |
| double | step_m |
Definition at line 28 of file SampleRandomizedSequence.h.
|
inline |
Definition at line 33 of file SampleRandomizedSequence.h.
|
inline |
Definition at line 39 of file SampleRandomizedSequence.h.
|
inlinevirtual |
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 from SamplingMethod.
Definition at line 50 of file SampleRandomizedSequence.h.
References unif_m.
|
inlinevirtual |
Implements SamplingMethod.
Definition at line 45 of file SampleRandomizedSequence.h.
|
private |
Definition at line 57 of file SampleRandomizedSequence.h.
Referenced by create(), SampleRandomizedSequence(), and SampleRandomizedSequence().
|
private |
Definition at line 55 of file SampleRandomizedSequence.h.
|
private |
Definition at line 58 of file SampleRandomizedSequence.h.
Referenced by create(), SampleRandomizedSequence(), and SampleRandomizedSequence().
|
private |
Definition at line 56 of file SampleRandomizedSequence.h.
Referenced by allocate(), create(), SampleRandomizedSequence(), and SampleRandomizedSequence().