queso-0.53.0
|
A class for handling sequential draws (sampling) from probability density distributions. More...
#include <SequentialVectorRealizer.h>
Public Member Functions | |
Constructor/Destructor methods | |
Default constructor. | |
SequentialVectorRealizer (const char *prefix, const BaseVectorSequence< V, M > &chain) | |
~SequentialVectorRealizer () | |
Destructor. More... | |
Sampling-related methods | |
Returns the unified mean vector; access to private attribute m_unifiedSampleExpVector. | |
const V & | unifiedSampleExpVector () const |
const V & | unifiedSampleVarVector () const |
Returns the unified variance vector; access to private attribute m_unifiedSampleVarVector. More... | |
void | realization (V &nextValues) const |
Draws the next value from this chain (m_chain ) and saves it in nextValues . More... | |
Public Member Functions inherited from QUESO::BaseVectorRealizer< V, M > | |
BaseVectorRealizer (const char *prefix, const VectorSet< V, M > &unifiedImageSet, unsigned int subPeriod) | |
Default constructor. More... | |
virtual | ~BaseVectorRealizer () |
Virtual destructor. More... | |
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... | |
Private Attributes | |
const BaseVectorSequence< V, M > & | m_chain |
unsigned int | m_currentChainPos |
V * | m_unifiedSampleExpVector |
V * | m_unifiedSampleVarVector |
Additional Inherited Members | |
Protected Attributes inherited from QUESO::BaseVectorRealizer< V, M > | |
const BaseEnvironment & | m_env |
std::string | m_prefix |
const VectorSet< V, M > & | m_unifiedImageSet |
unsigned int | m_subPeriod |
A class for handling sequential draws (sampling) from probability density distributions.
This class handles sequential sampling (it returns the next value of the chain) from a probability density distribution.
Definition at line 46 of file SequentialVectorRealizer.h.
QUESO::SequentialVectorRealizer< V, M >::SequentialVectorRealizer | ( | const char * | prefix, |
const BaseVectorSequence< V, M > & | chain | ||
) |
Definition at line 33 of file SequentialVectorRealizer.C.
References QUESO::BaseEnvironment::displayVerbosity(), QUESO::SequentialVectorRealizer< V, M >::m_chain, QUESO::BaseVectorRealizer< V, M >::m_env, and QUESO::BaseEnvironment::subDisplayFile().
QUESO::SequentialVectorRealizer< V, M >::~SequentialVectorRealizer | ( | ) |
Destructor.
Definition at line 51 of file SequentialVectorRealizer.C.
|
virtual |
Draws the next value from this chain (m_chain
) and saves it in nextValues
.
Implements QUESO::BaseVectorRealizer< V, M >.
Definition at line 59 of file SequentialVectorRealizer.C.
const V & QUESO::SequentialVectorRealizer< V, M >::unifiedSampleExpVector | ( | ) | const |
Definition at line 69 of file SequentialVectorRealizer.C.
const V & QUESO::SequentialVectorRealizer< V, M >::unifiedSampleVarVector | ( | ) | const |
Returns the unified variance vector; access to private attribute m_unifiedSampleVarVector.
Definition at line 76 of file SequentialVectorRealizer.C.
|
private |
Definition at line 70 of file SequentialVectorRealizer.h.
Referenced by QUESO::SequentialVectorRealizer< V, M >::SequentialVectorRealizer().
|
mutableprivate |
Definition at line 71 of file SequentialVectorRealizer.h.
|
private |
Definition at line 72 of file SequentialVectorRealizer.h.
|
private |
Definition at line 73 of file SequentialVectorRealizer.h.