28 #include <queso/VectorRV.h> 
   29 #include <queso/VectorFunction.h> 
   30 #include <queso/VectorFunctionSynchronizer.h> 
   31 #include <queso/MonteCarloSGOptions.h> 
   48 template <
class P_V,
class P_M,
class Q_V,
class Q_M>
 
   81   void print                      (std::ostream& os) 
const;
 
  112                                     unsigned int                        seqSize);
 
  115                               const std::string&                        dataInputFileName,
 
  116                               const std::string&                        dataInputFileType,
 
  119                                     unsigned int                        seqSize);
 
  136 #endif // UQ_MOC_SG_H 
MonteCarloSG(const char *prefix, const McOptionsValues *alternativeOptionsValues, const BaseVectorRV< P_V, P_M > ¶mRv, const BaseVectorFunction< P_V, P_M, Q_V, Q_M > &qoiFunction)
Constructor. 
 
McOptionsValues m_alternativeOptionsValues
 
A templated class that implements a Monte Carlo generator of samples. 
 
const BaseVectorRV< P_V, P_M > & m_paramRv
 
This class provides options for the Monte Carlo sequence generator if no input file is available...
 
void actualReadSequence(const BaseVectorRV< P_V, P_M > ¶mRv, const std::string &dataInputFileName, const std::string &dataInputFileType, BaseVectorSequence< P_V, P_M > &workingPSeq, BaseVectorSequence< Q_V, Q_M > &workingQSeq, unsigned int seqSize)
Reads the sequence. 
 
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
 
unsigned int m_numQsNotSubWritten
 
const BaseVectorFunction< P_V, P_M, Q_V, Q_M > & m_qoiFunction
 
const VectorSpace< P_V, P_M > & m_paramSpace
 
const BaseEnvironment & m_env
 
A templated (base) class for handling vector functions. 
 
~MonteCarloSG()
Destructor. 
 
void internGenerateSequence(const BaseVectorRV< P_V, P_M > ¶mRv, BaseVectorSequence< P_V, P_M > &workingPSeq, BaseVectorSequence< Q_V, Q_M > &workingQSeq)
Generates the QoI (output) sequence; it calls actualGenerateSequence(). 
 
unsigned int m_numPsNotSubWritten
 
const VectorFunctionSynchronizer< P_V, P_M, Q_V, Q_M > * m_qoiFunctionSynchronizer
 
MonteCarloSGOptions * m_optionsObj
 
void actualGenerateSequence(const BaseVectorRV< P_V, P_M > ¶mRv, BaseVectorSequence< P_V, P_M > &workingPSeq, BaseVectorSequence< Q_V, Q_M > &workingQSeq, unsigned int seqSize)
This method actually generates the QoI sequence. 
 
const VectorSpace< Q_V, Q_M > & m_qoiSpace
 
A templated class for synchronizing the calls of vector-valued functions. 
 
This class reads the options for the Monte Carlo sequence generator from an input file...
 
void print(std::ostream &os) const 
Prints the sequence. 
 
friend std::ostream & operator<<(std::ostream &os, const MonteCarloSG< P_V, P_M, Q_V, Q_M > &obj)
 
void generateSequence(BaseVectorSequence< P_V, P_M > &workingPSeq, BaseVectorSequence< Q_V, Q_M > &workingQSeq)
Generates the QoI (output) sequence, it calls internGenerateSequence().