queso-0.57.1
|
A templated (base) class for handling sampling from vector RVs. More...
#include <VectorRealizer.h>
Public Member Functions | |
Constructor/Destructor methods | |
BaseVectorRealizer (const char *prefix, const VectorSet< V, M > &unifiedImageSet, unsigned int subPeriod) | |
Default constructor. More... | |
virtual | ~BaseVectorRealizer () |
Virtual destructor. More... | |
Realization-related methods | |
const VectorSet< V, M > & | unifiedImageSet () const |
Image set where the realizations lie. Access to protected attribute m_unifiedImageSet. More... | |
unsigned int | subPeriod () const |
Sub-period of the realization. Access to protected attribute m_subPeriod. More... | |
virtual void | realization (V &nextValues) const =0 |
Performs a realization (sample) from a probability density function. See template specialization. More... | |
Protected Attributes | |
const BaseEnvironment & | m_env |
std::string | m_prefix |
const VectorSet< V, M > & | m_unifiedImageSet |
unsigned int | m_subPeriod |
A templated (base) class for handling sampling from vector RVs.
A realizer is an object that, simply put, contains a realization() operation that returns a sample of a vector RV. This is the base class. QUESO also support uniform, Gaussian, Beta, Gamma, Inverse Gamma and LogNormal realizers, as described and implemented in the derived classes.
Definition at line 49 of file VectorRealizer.h.
QUESO::BaseVectorRealizer< V, M >::BaseVectorRealizer | ( | const char * | prefix, |
const VectorSet< V, M > & | unifiedImageSet, | ||
unsigned int | subPeriod | ||
) |
Default constructor.
Constructs a new object, given a prefix and the image set of the vector realizer.
Definition at line 33 of file VectorRealizer.C.
References QUESO::BaseEnvironment::displayVerbosity(), QUESO::BaseVectorRealizer< V, M >::m_env, QUESO::BaseVectorRealizer< V, M >::m_prefix, and QUESO::BaseEnvironment::subDisplayFile().
|
virtual |
|
pure virtual |
Performs a realization (sample) from a probability density function. See template specialization.
Implemented in QUESO::InvLogitGaussianVectorRealizer< V, M >, QUESO::GaussianVectorRealizer< V, M >, QUESO::LogNormalVectorRealizer< V, M >, QUESO::ConcatenatedVectorRealizer< V, M >, QUESO::UniformVectorRealizer< V, M >, QUESO::BetaVectorRealizer< V, M >, QUESO::GenericVectorRealizer< V, M >, QUESO::GammaVectorRealizer< V, M >, QUESO::InverseGammaVectorRealizer< V, M >, QUESO::WignerVectorRealizer< V, M >, QUESO::SequentialVectorRealizer< V, M >, and QUESO::JeffreysVectorRealizer< V, M >.
Referenced by QUESO::MonteCarloSG< P_V, P_M, Q_V, Q_M >::actualGenerateSequence(), QUESO::MonteCarloSG< P_V, P_M, Q_V, Q_M >::actualReadSequence(), QUESO::ComputeCovCorrMatricesBetweenVectorRvs(), and QUESO::MonteCarloQuadrature< V, M >::MonteCarloQuadrature().
unsigned int QUESO::BaseVectorRealizer< V, M >::subPeriod | ( | ) | const |
Sub-period of the realization. Access to protected attribute m_subPeriod.
Definition at line 63 of file VectorRealizer.C.
Referenced by QUESO::MonteCarloSG< P_V, P_M, Q_V, Q_M >::internGenerateSequence().
const VectorSet< V, M > & QUESO::BaseVectorRealizer< V, M >::unifiedImageSet | ( | ) | const |
Image set where the realizations lie. Access to protected attribute m_unifiedImageSet.
Definition at line 70 of file VectorRealizer.C.
|
protected |
Definition at line 77 of file VectorRealizer.h.
Referenced by QUESO::BaseVectorRealizer< V, M >::BaseVectorRealizer(), QUESO::BetaVectorRealizer< V, M >::BetaVectorRealizer(), QUESO::ConcatenatedVectorRealizer< V, M >::ConcatenatedVectorRealizer(), QUESO::GammaVectorRealizer< V, M >::GammaVectorRealizer(), QUESO::GaussianVectorRealizer< V, M >::GaussianVectorRealizer(), QUESO::GenericVectorRealizer< V, M >::GenericVectorRealizer(), QUESO::InverseGammaVectorRealizer< V, M >::InverseGammaVectorRealizer(), QUESO::JeffreysVectorRealizer< V, M >::JeffreysVectorRealizer(), QUESO::LogNormalVectorRealizer< V, M >::LogNormalVectorRealizer(), QUESO::SequentialVectorRealizer< V, M >::SequentialVectorRealizer(), QUESO::UniformVectorRealizer< V, M >::UniformVectorRealizer(), and QUESO::WignerVectorRealizer< V, M >::WignerVectorRealizer().
|
protected |
Definition at line 78 of file VectorRealizer.h.
Referenced by QUESO::BaseVectorRealizer< V, M >::BaseVectorRealizer(), QUESO::BetaVectorRealizer< V, M >::BetaVectorRealizer(), QUESO::ConcatenatedVectorRealizer< V, M >::ConcatenatedVectorRealizer(), QUESO::GammaVectorRealizer< V, M >::GammaVectorRealizer(), QUESO::GaussianVectorRealizer< V, M >::GaussianVectorRealizer(), QUESO::GenericVectorRealizer< V, M >::GenericVectorRealizer(), QUESO::InverseGammaVectorRealizer< V, M >::InverseGammaVectorRealizer(), QUESO::JeffreysVectorRealizer< V, M >::JeffreysVectorRealizer(), QUESO::LogNormalVectorRealizer< V, M >::LogNormalVectorRealizer(), QUESO::UniformVectorRealizer< V, M >::UniformVectorRealizer(), and QUESO::WignerVectorRealizer< V, M >::WignerVectorRealizer().
|
protected |
Definition at line 80 of file VectorRealizer.h.
|
protected |
Definition at line 79 of file VectorRealizer.h.