OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
OPAL
Public Member Functions | Private Attributes | List of all members
SampleGaussianSequence Class Reference

#include <SampleGaussianSequence.h>

Inheritance diagram for SampleGaussianSequence:
Inheritance graph
[legend]
Collaboration diagram for SampleGaussianSequence:
Collaboration graph
[legend]

Public Member Functions

 SampleGaussianSequence (double lower, double upper, size_t modulo, int nSample)
 
void create (boost::shared_ptr< SampleIndividual > &ind, size_t i)
 
double getNext (unsigned int id)
 
- Public Member Functions inherited from SamplingMethod
virtual ~SamplingMethod ()
 
virtual void allocate (const CmdArguments_t &, const Comm::Bundle_t &)
 

Private Attributes

std::vector< double > sampleChain_m
 
unsigned int numSamples_m
 
size_t volumeLowerDimensions_m
 

Detailed Description

Definition at line 35 of file SampleGaussianSequence.h.

Constructor & Destructor Documentation

◆ SampleGaussianSequence()

SampleGaussianSequence::SampleGaussianSequence ( double  lower,
double  upper,
size_t  modulo,
int  nSample 
)
inline

Definition at line 40 of file SampleGaussianSequence.h.

References Util::erfinv(), sampleChain_m, and sqrt().

Here is the call graph for this function:

Member Function Documentation

◆ create()

void SampleGaussianSequence::create ( boost::shared_ptr< SampleIndividual > &  ind,
size_t  i 
)
inlinevirtual

Implements SamplingMethod.

Definition at line 55 of file SampleGaussianSequence.h.

References getNext().

Here is the call graph for this function:

◆ getNext()

double SampleGaussianSequence::getNext ( unsigned int  id)
inline

Definition at line 59 of file SampleGaussianSequence.h.

References numSamples_m, sampleChain_m, and volumeLowerDimensions_m.

Referenced by create().

Member Data Documentation

◆ numSamples_m

unsigned int SampleGaussianSequence::numSamples_m
private

Definition at line 71 of file SampleGaussianSequence.h.

Referenced by getNext().

◆ sampleChain_m

std::vector<double> SampleGaussianSequence::sampleChain_m
private

Definition at line 70 of file SampleGaussianSequence.h.

Referenced by getNext(), and SampleGaussianSequence().

◆ volumeLowerDimensions_m

size_t SampleGaussianSequence::volumeLowerDimensions_m
private

Definition at line 72 of file SampleGaussianSequence.h.

Referenced by getNext().


The documentation for this class was generated from the following file: