OPAL (Object Oriented Parallel Accelerator Library)
2.2.0
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 &args, const Comm::Bundle_t &comm) |
Definition at line 12 of file SamplingMethod.h.
|
inlinevirtual |
Definition at line 16 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, LatinHyperCube, Uniform< T >, Uniform< size_t >, Normal, and SampleRandomizedSequence< T >.
Definition at line 29 of file SamplingMethod.h.
|
pure virtual |
Implemented in FromFile, SampleGaussianSequence, Uniform< T >, Uniform< size_t >, Normal, SampleRandomizedSequence< T >, and SampleSequence< T >.