OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
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 SampleRandomizedSequence< T >, LatinHyperCube, Uniform< T >, Uniform< size_t >, Normal, and FromFile.
Definition at line 49 of file SamplingMethod.h.
|
pure virtual |
Implemented in Uniform< T >, Uniform< size_t >, SampleSequence< T >, SampleRandomizedSequence< T >, SampleGaussianSequence, Normal, and FromFile.