25 #ifndef UQ_MOC_SG_OPTIONS_H
26 #define UQ_MOC_SG_OPTIONS_H
28 #include <queso/Environment.h>
29 #include <queso/SequenceStatisticalOptions.h>
31 #define UQ_MOC_SG_FILENAME_FOR_NO_FILE "."
34 #define UQ_MOC_SG_DATA_OUTPUT_FILE_NAME_ODV UQ_MOC_SG_FILENAME_FOR_NO_FILE
35 #define UQ_MOC_SG_DATA_OUTPUT_ALLOWED_SET_ODV ""
37 #define UQ_MOC_SG_PSEQ_DATA_OUTPUT_PERIOD_ODV 0
38 #define UQ_MOC_SG_PSEQ_DATA_OUTPUT_FILE_NAME_ODV UQ_MOC_SG_FILENAME_FOR_NO_FILE
39 #define UQ_MOC_SG_PSEQ_DATA_OUTPUT_FILE_TYPE_ODV UQ_FILE_EXTENSION_FOR_MATLAB_FORMAT
40 #define UQ_MOC_SG_PSEQ_DATA_OUTPUT_ALLOWED_SET_ODV ""
41 #define UQ_MOC_SG_PSEQ_COMPUTE_STATS_ODV 0
43 #define UQ_MOC_SG_QSEQ_DATA_INPUT_FILE_NAME_ODV UQ_MOC_SG_FILENAME_FOR_NO_FILE
44 #define UQ_MOC_SG_QSEQ_DATA_INPUT_FILE_TYPE_ODV UQ_FILE_EXTENSION_FOR_MATLAB_FORMAT
45 #define UQ_MOC_SG_QSEQ_SIZE_ODV 100
46 #define UQ_MOC_SG_QSEQ_DISPLAY_PERIOD_ODV 500
47 #define UQ_MOC_SG_QSEQ_MEASURE_RUN_TIMES_ODV 0
48 #define UQ_MOC_SG_QSEQ_DATA_OUTPUT_PERIOD_ODV 0
49 #define UQ_MOC_SG_QSEQ_DATA_OUTPUT_FILE_NAME_ODV UQ_MOC_SG_FILENAME_FOR_NO_FILE
50 #define UQ_MOC_SG_QSEQ_DATA_OUTPUT_FILE_TYPE_ODV UQ_FILE_EXTENSION_FOR_MATLAB_FORMAT
51 #define UQ_MOC_SG_QSEQ_DATA_OUTPUT_ALLOWED_SET_ODV ""
52 #define UQ_MOC_SG_QSEQ_COMPUTE_STATS_ODV 0
72 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
74 const SsOptionsValues* alternativeQSsOptionsValues);
101 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
102 bool m_pseqComputeStats;
114 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
115 bool m_qseqComputeStats;
122 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
124 SsOptionsValues m_alternativePSsOptionsValues;
125 SsOptionsValues m_alternativeQSsOptionsValues;
165 void print (std::ostream& os)
const;
169 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
170 SequenceStatisticalOptions* m_pseqStatisticalOptionsObj;
171 SequenceStatisticalOptions* m_qseqStatisticalOptionsObj;
193 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
194 std::string m_option_pseq_computeStats;
206 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
207 std::string m_option_qseq_computeStats;
216 #endif // UQ_MOC_SG_OPTIONS_H
std::set< unsigned int > m_pseqDataOutputAllowedSet
std::string m_qseqDataInputFileType
std::string m_option_qseq_dataOutputPeriod
std::string m_option_qseq_measureRunTimes
std::string m_option_pseq_dataOutputAllowedSet
std::set< unsigned int > m_qseqDataOutputAllowedSet
std::string m_option_qseq_dataOutputFileName
std::string m_qseqDataOutputFileType
void getMyOptionValues(po::options_description &optionsDesc)
Gets the sequence options.
McOptionsValues & operator=(const McOptionsValues &rhs)
Assignment operator; it copies rhs to this.
std::string m_option_pseq_dataOutputFileName
This class reads the options for the Monte Carlo sequence generator from an input file...
unsigned int m_qseqDataOutputPeriod
std::string m_option_qseq_dataInputFileName
std::string m_option_qseq_dataOutputFileType
void defineMyOptions(po::options_description &optionsDesc) const
Defines the options for the Monte Carlo sequence generator as the default options.
const BaseEnvironment & m_env
void copy(const McOptionsValues &src)
Copies the option values from src to this.
std::string m_dataOutputFileName
std::string m_qseqDataInputFileName
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
unsigned int m_qseqDisplayPeriod
std::ostream & operator<<(std::ostream &os, const BaseEnvironment &obj)
std::string m_option_qseq_displayPeriod
void scanOptionsValues()
It scans the option values from the options input file.
unsigned int m_pseqDataOutputPeriod
std::string m_pseqDataOutputFileType
std::string m_option_pseq_dataOutputFileType
std::string m_option_dataOutputAllowedSet
std::string m_option_dataOutputFileName
MonteCarloSGOptions(const BaseEnvironment &env, const char *prefix)
Constructor: reads options from the input file.
std::string m_option_qseq_dataInputFileType
std::string m_option_qseq_dataOutputAllowedSet
std::set< unsigned int > m_dataOutputAllowedSet
McOptionsValues()
Default constructor.
po::options_description * m_optionsDesc
This class provides options for the Monte Carlo sequence generator if no input file is available...
~MonteCarloSGOptions()
Destructor.
~McOptionsValues()
Destructor.
void print(std::ostream &os) const
It prints the option values.
std::string m_qseqDataOutputFileName
std::string m_option_pseq_dataOutputPeriod
std::string m_option_qseq_size
std::string m_option_help
std::string m_pseqDataOutputFileName
bool m_qseqMeasureRunTimes