28 #include <queso/StatisticalForwardProblemOptions.h>
29 #include <queso/VectorFunction.h>
30 #include <queso/MonteCarloSG.h>
31 #include <queso/VectorRV.h>
32 #include <queso/GenericVectorRV.h>
33 #include <queso/SequenceOfVectors.h>
76 template <
class P_V,
class P_M,
class Q_V,
class Q_M>
127 #ifdef QUESO_COMPUTES_EXTRA_POST_PROCESSING_STATISTICS
140 void print(std::ostream& os)
const;
170 #ifdef UQ_ALSO_COMPUTE_MDFS_WITHOUT_KDE
174 #ifdef QUESO_COMPUTES_EXTRA_POST_PROCESSING_STATISTICS
A templated class that implements a Monte Carlo generator of samples.
const GenericVectorRV< Q_V, Q_M > & qoiRv() const
Returns the QoI RV; access to private attribute m_qoiRv.
Class to accommodate arrays of one-dimensional grid.
StatisticalForwardProblemOptions * m_optionsObj
StatisticalForwardProblem(const char *prefix, const SfpOptionsValues *alternativeOptionsValues, const BaseVectorRV< P_V, P_M > ¶mRv, const BaseVectorFunction< P_V, P_M, Q_V, Q_M > &qoiFunction, GenericVectorRV< Q_V, Q_M > &qoiRv)
Constructor.
This class provides options for a Statistical Forward Problem if no input file is available...
void print(std::ostream &os) const
TODO: Prints the sequence.
const BaseVectorFunction< P_V, P_M, Q_V, Q_M > & m_qoiFunction
void commonConstructor()
TODO: Common constructor.
This class reads option values for a Statistical Forward Problem from an input file.
friend std::ostream & operator<<(std::ostream &os, const StatisticalForwardProblem< P_V, P_M, Q_V, Q_M > &obj)
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
BaseVectorSequence< Q_V, Q_M > * m_paramChain
GenericVectorRV< Q_V, Q_M > & m_qoiRv
bool computeSolutionFlag() const
Whether or not compute the solution.
BaseJointPdf< Q_V, Q_M > * m_solutionPdf
MonteCarloSG< P_V, P_M, Q_V, Q_M > * m_mcSeqGenerator
const BaseEnvironment & m_env
This templated class represents a Statistical Forward Problem.
BaseVectorRealizer< Q_V, Q_M > * m_solutionRealizer
void solveWithMonteCarlo(const McOptionsValues *alternativeOptionsValues)
Solves the problem through Monte Carlo algorithm.
This class provides options for the Monte Carlo sequence generator if no input file is available...
Class to accommodate arrays of one-dimensional tables.
const BaseVectorRV< P_V, P_M > & m_paramRv
~StatisticalForwardProblem()
Destructor.
const BaseVectorSequence< Q_V, Q_M > & getParamChain() const
Returns the parameter chain; access to private attribute m_paramChain.
A templated (base) class for handling vector functions.
SfpOptionsValues m_alternativeOptionsValues
BaseVectorSequence< Q_V, Q_M > * m_qoiChain