OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
|
#include <SamplingMethod.h>
Public Member Functions | |
virtual | ~SamplingMethod () |
virtual void | create (boost::shared_ptr< SampleIndividual > &ind, size_t i)=0 |
virtual void | allocate (const CmdArguments_t &, const Comm::Bundle_t &) |
Definition at line 32 of file SamplingMethod.h.
|
inlinevirtual |
Definition at line 36 of file SamplingMethod.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 in FromFile, Normal, Uniform< T >, Uniform< size_t >, LatinHyperCube, and SampleRandomizedSequence< T >.
Definition at line 49 of file SamplingMethod.h.
|
pure virtual |
Implemented in FromFile, Normal, SampleGaussianSequence, SampleRandomizedSequence< T >, SampleSequence< T >, Uniform< T >, and Uniform< size_t >.