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>
79 template <
class P_V = GslVector,
class P_M = GslMatrix,
class Q_V = GslVector,
class Q_M = GslMatrix>
130 #ifdef QUESO_COMPUTES_EXTRA_POST_PROCESSING_STATISTICS
143 void print(std::ostream& os)
const;
172 #ifdef UQ_ALSO_COMPUTE_MDFS_WITHOUT_KDE
176 #ifdef QUESO_COMPUTES_EXTRA_POST_PROCESSING_STATISTICS
BaseVectorRealizer< Q_V, Q_M > * m_solutionRealizer
Class to accommodate arrays of one-dimensional grid.
friend std::ostream & operator<<(std::ostream &os, const StatisticalForwardProblem< P_V, P_M, Q_V, Q_M > &obj)
A templated (base) class for handling vector functions.
bool computeSolutionFlag() const
Whether or not compute the solution.
~StatisticalForwardProblem()
Destructor.
BaseJointPdf< Q_V, Q_M > * m_solutionPdf
const BaseEnvironment & m_env
const BaseVectorFunction< P_V, P_M, Q_V, Q_M > & m_qoiFunction
void commonConstructor()
TODO: Common constructor.
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.
void print(std::ostream &os) const
TODO: Prints the sequence.
BaseVectorSequence< Q_V, Q_M > * m_paramChain
This class provides options for a Statistical Forward Problem if no input file is available...
This class provides options for the Monte Carlo sequence generator if no input file is available...
const BaseVectorRV< P_V, P_M > & m_paramRv
const SfpOptionsValues * m_optionsObj
const BaseVectorSequence< Q_V, Q_M > & getParamChain() const
Returns the parameter chain; access to private attribute m_paramChain.
BaseVectorSequence< Q_V, Q_M > * m_qoiChain
This templated class represents a Statistical Forward Problem.
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
Class to accommodate arrays of one-dimensional tables.
const GenericVectorRV< Q_V, Q_M > & qoiRv() const
Returns the QoI RV; access to private attribute m_qoiRv.
GenericVectorRV< Q_V, Q_M > & m_qoiRv
void solveWithMonteCarlo(const McOptionsValues *alternativeOptionsValues)
Solves the problem through Monte Carlo algorithm.
bool m_userDidNotProvideOptions
MonteCarloSG< P_V, P_M, Q_V, Q_M > * m_mcSeqGenerator
A templated class that implements a Monte Carlo generator of samples.