25 #ifndef UQ_MH_SG_OPTIONS_H
26 #define UQ_MH_SG_OPTIONS_H
28 #include <queso/Environment.h>
29 #include <queso/MLSamplingLevelOptions.h>
30 #include <queso/SequenceStatisticalOptions.h>
32 #ifndef DISABLE_BOOST_PROGRAM_OPTIONS
33 #include <queso/BoostInputOptionsParser.h>
34 #endif // DISABLE_BOOST_PROGRAM_OPTIONS
36 #undef UQ_MH_SG_REQUIRES_INVERTED_COV_MATRICES
37 #define UQ_NOTHING_JUST_FOR_TEST_OF_SVN_ID 1
39 #define UQ_MH_SG_FILENAME_FOR_NO_FILE "."
42 #define UQ_MH_SG_HELP ""
43 #define UQ_MH_SG_DATA_OUTPUT_FILE_NAME_ODV UQ_MH_SG_FILENAME_FOR_NO_FILE
44 #define UQ_MH_SG_DATA_OUTPUT_ALLOW_ALL_ODV 0
45 #define UQ_MH_SG_DATA_OUTPUT_ALLOWED_SET_ODV ""
47 #define UQ_MH_SG_TOTALLY_MUTE_ODV 0
48 #define UQ_MH_SG_INITIAL_POSITION_DATA_INPUT_FILE_NAME_ODV UQ_MH_SG_FILENAME_FOR_NO_FILE
49 #define UQ_MH_SG_INITIAL_POSITION_DATA_INPUT_FILE_TYPE_ODV UQ_FILE_EXTENSION_FOR_MATLAB_FORMAT
50 #define UQ_MH_SG_INITIAL_PROPOSAL_COV_MATRIX_DATA_INPUT_FILE_NAME_ODV UQ_MH_SG_FILENAME_FOR_NO_FILE
51 #define UQ_MH_SG_INITIAL_PROPOSAL_COV_MATRIX_DATA_INPUT_FILE_TYPE_ODV UQ_FILE_EXTENSION_FOR_MATLAB_FORMAT
52 #define UQ_MH_SG_LIST_OF_DISABLED_PARAMETERS_ODV ""
53 #define UQ_MH_SG_RAW_CHAIN_DATA_INPUT_FILE_NAME_ODV UQ_MH_SG_FILENAME_FOR_NO_FILE
54 #define UQ_MH_SG_RAW_CHAIN_DATA_INPUT_FILE_TYPE_ODV UQ_FILE_EXTENSION_FOR_MATLAB_FORMAT
55 #define UQ_MH_SG_RAW_CHAIN_SIZE_ODV 100
56 #define UQ_MH_SG_RAW_CHAIN_GENERATE_EXTRA_ODV 0
57 #define UQ_MH_SG_RAW_CHAIN_DISPLAY_PERIOD_ODV 500
58 #define UQ_MH_SG_RAW_CHAIN_MEASURE_RUN_TIMES_ODV 1
59 #define UQ_MH_SG_RAW_CHAIN_DATA_OUTPUT_PERIOD_ODV 0
60 #define UQ_MH_SG_RAW_CHAIN_DATA_OUTPUT_FILE_NAME_ODV UQ_MH_SG_FILENAME_FOR_NO_FILE
61 #define UQ_MH_SG_RAW_CHAIN_DATA_OUTPUT_FILE_TYPE_ODV UQ_FILE_EXTENSION_FOR_MATLAB_FORMAT
62 #define UQ_MH_SG_RAW_CHAIN_DATA_OUTPUT_ALLOW_ALL_ODV 0
63 #define UQ_MH_SG_RAW_CHAIN_DATA_OUTPUT_ALLOWED_SET_ODV ""
64 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
65 #define UQ_MH_SG_RAW_CHAIN_COMPUTE_STATS_ODV 0
67 #define UQ_MH_SG_FILTERED_CHAIN_GENERATE_ODV 0
68 #define UQ_MH_SG_FILTERED_CHAIN_DISCARDED_PORTION_ODV 0.
69 #define UQ_MH_SG_FILTERED_CHAIN_LAG_ODV 1
70 #define UQ_MH_SG_FILTERED_CHAIN_DATA_OUTPUT_FILE_NAME_ODV UQ_MH_SG_FILENAME_FOR_NO_FILE
71 #define UQ_MH_SG_FILTERED_CHAIN_DATA_OUTPUT_FILE_TYPE_ODV UQ_FILE_EXTENSION_FOR_MATLAB_FORMAT
72 #define UQ_MH_SG_FILTERED_CHAIN_DATA_OUTPUT_ALLOW_ALL_ODV 0
73 #define UQ_MH_SG_FILTERED_CHAIN_DATA_OUTPUT_ALLOWED_SET_ODV ""
74 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
75 #define UQ_MH_SG_FILTERED_CHAIN_COMPUTE_STATS_ODV 0
77 #define UQ_MH_SG_DISPLAY_CANDIDATES_ODV 0
78 #define UQ_MH_SG_PUT_OUT_OF_BOUNDS_IN_CHAIN_ODV 1
79 #define UQ_MH_SG_TK_USE_LOCAL_HESSIAN_ODV 0
80 #define UQ_MH_SG_TK_USE_NEWTON_COMPONENT_ODV 1
81 #define UQ_MH_SG_DR_MAX_NUM_EXTRA_STAGES_ODV 0
82 #define UQ_MH_SG_DR_LIST_OF_SCALES_FOR_EXTRA_STAGES_ODV ""
83 #define UQ_MH_SG_DR_DURING_AM_NON_ADAPTIVE_INT_ODV 1
84 #define UQ_MH_SG_AM_KEEP_INITIAL_MATRIX_ODV 0
85 #define UQ_MH_SG_AM_INIT_NON_ADAPT_INT_ODV 0
86 #define UQ_MH_SG_AM_ADAPT_INTERVAL_ODV 0
87 #define UQ_MH_SG_AM_ADAPTED_MATRICES_DATA_OUTPUT_PERIOD_ODV 0
88 #define UQ_MH_SG_AM_ADAPTED_MATRICES_DATA_OUTPUT_FILE_NAME_ODV UQ_MH_SG_FILENAME_FOR_NO_FILE
89 #define UQ_MH_SG_AM_ADAPTED_MATRICES_DATA_OUTPUT_FILE_TYPE_ODV UQ_FILE_EXTENSION_FOR_MATLAB_FORMAT
90 #define UQ_MH_SG_AM_ADAPTED_MATRICES_DATA_OUTPUT_ALLOW_ALL_ODV 0
91 #define UQ_MH_SG_AM_ADAPTED_MATRICES_DATA_OUTPUT_ALLOWED_SET_ODV ""
92 #define UQ_MH_SG_AM_ETA_ODV 1.
93 #define UQ_MH_SG_AM_EPSILON_ODV 1.e-5
94 #define UQ_MH_SG_ENABLE_BROOKS_GELMAN_CONV_MONITOR 0
95 #define UQ_MH_SG_BROOKS_GELMAN_LAG 100
96 #define UQ_MH_SG_OUTPUT_LOG_LIKELIHOOD 1
97 #define UQ_MH_SG_OUTPUT_LOG_TARGET 1
98 #define UQ_MH_SG_DO_LOGIT_TRANSFORM 1
99 #define UQ_MH_SG_ALGORITHM "logit_random_walk"
100 #define UQ_MH_SG_TK "logit_random_walk"
101 #define UQ_MH_SG_UPDATE_INTERVAL 1
103 #ifndef DISABLE_BOOST_PROGRAM_OPTIONS
105 namespace program_options {
106 class options_description;
109 #endif // DISABLE_BOOST_PROGRAM_OPTIONS
113 class BaseEnvironment;
135 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
335 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
391 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
623 #ifndef DISABLE_BOOST_PROGRAM_OPTIONS
625 #endif // DISABLE_BOOST_PROGRAM_OPTIONS
671 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
689 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
754 friend std::ostream &
operator<<(std::ostream & os,
757 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
803 void print (std::ostream& os)
const;
809 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
818 #ifndef DISABLE_BOOST_PROGRAM_OPTIONS
819 void defineMyOptions (boost::program_options::options_description& optionsDesc)
const;
823 void getMyOptionValues(boost::program_options::options_description& optionsDesc);
824 #endif // DISABLE_BOOST_PROGRAM_OPTIONS
827 #ifndef DISABLE_BOOST_PROGRAM_OPTIONS
829 #endif // DISABLE_BOOST_PROGRAM_OPTIONS
854 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
864 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
903 #endif // UQ_MH_SG_OPTIONS_H
std::string m_help
If non-empty string, print options and values to the output file.
std::set< unsigned int > m_filteredChainDataOutputAllowedSet
The set of MPI ranks that will write filtered Markov chain output to a file. See also m_filteredChain...
std::string m_prefix
Prefix for input file option names. Prepends all options for this class.
std::string m_option_rawChain_dataOutputFileName
std::string m_option_doLogitTransform
std::string m_option_listOfDisabledParameters
Option name for MhOptionsValues::m_parameterDisabledSet. Option name is m_prefix + "mh_listOfDisabled...
std::string m_initialPositionDataInputFileType
The filetype of m_initialPositionDataInputFileName. Only "m" (matlab) is currently supported...
std::string m_option_rawChain_dataOutputFileName
Option name for MhOptionsValues::m_rawChainDataOutputFileName. Option name is m_prefix + "mh_rawChain...
std::string m_option_am_eta
Option name for MhOptionsValues::m_amEta. Option name is m_prefix + "mh_am_eta".
std::string m_rawChainDataInputFileName
Filename for reading an already-produced Markov chain.
unsigned int m_amAdaptedMatricesDataOutputPeriod
The frequency (after m_amInitialNonAdaptInterval samples are done) of printing the last adapted propo...
std::string m_option_outputLogLikelihood
Option name for MhOptionsValues::m_outputLogLikelihood. Option name is m_prefix + "mh_outputLogLikeli...
This class reads the options for the Metropolis-Hastings generator of samples from an input file...
bool m_doLogitTransform
Flag for deciding whether or not to do logit transform of bounded domains Default is true...
std::string m_option_tk_useLocalHessian
std::string m_option_rawChain_computeStats
Option name for MhOptionsValues::m_rawChainComputeStats. Option name is m_prefix + "mh_rawChain_compu...
std::vector< double > m_drScalesForExtraStages
The vector of scale factors for the proposal covariance matrix to use for delayed rejection...
std::ostream & operator<<(std::ostream &os, const SequenceStatisticalOptions &obj)
std::string m_option_initialProposalCovMatrix_dataInputFileType
A templated class that stores default statistical options for a sequence of vectors, e.g. a Markov chain, a Monte Carlo input sequence, or a Monte Carlo output sequence.
unsigned int m_amAdaptInterval
The frequency at which to adapt the proposal covariance matrix.
std::string m_option_filteredChain_discardedPortion
std::string m_option_displayCandidates
Option name for MhOptionsValues::m_displayCandidates. Option name is m_prefix + "mh_displayCandidates...
std::string m_option_am_adaptedMatrices_dataOutputAllowedSet
Option name for MhOptionsValues::m_amAdaptedMatricesDataOutputAllowedSet. Option name is m_prefix + "...
bool m_dataOutputAllowAll
If true, all processes write output and m_dataOutputAllowedSet is ignored.
void copy(const MhOptionsValues &src)
Copies the option values from src to this.
std::string m_option_am_adaptInterval
Option name for MhOptionsValues::m_amAdaptInterval. Option name is m_prefix + "mh_am_adaptInterval".
std::string m_option_rawChain_dataOutputPeriod
std::string m_option_am_epsilon
See MhOptionsValues::m_amEpsilon.
std::string m_option_am_initialNonAdaptInterval
Option name for MhOptionsValues::m_amInitialNonAdaptInterval. Option name is m_prefix + "mh_am_initia...
std::string m_option_filteredChain_dataOutputFileName
std::string m_option_initialPosition_dataInputFileType
Option name for MhOptionsValues::m_initialPositionDataInputFileType. Option name is m_prefix + "mh_in...
std::string m_option_filteredChain_dataOutputFileName
Option name for MhOptionsValues::m_filteredChainDataOutputFileName. Option name is m_prefix + "mh_fil...
std::string m_option_BrooksGelmanLag
std::string m_option_rawChain_displayPeriod
Option name for MhOptionsValues::m_rawChainDisplayPeriod. Option name is m_prefix + "mh_rawChain_disp...
std::string m_option_am_adaptedMatrices_dataOutputFileType
double m_filteredChainDiscardedPortion
What initial fraction of the filtered chain is discarded.
std::string m_option_filteredChain_generate
bool m_drDuringAmNonAdaptiveInt
Do delayed rejection during the initial non-adaptive part of sampling?
bool m_filteredChainStatOptsInstantiated
std::string m_option_am_adaptedMatrices_dataOutputAllowedSet
std::string m_option_initialProposalCovMatrix_dataInputFileType
Option name for MhOptionsValues::m_initialProposalCovMatrixDataInputFileType. Option name is m_prefix...
bool m_rawChainGenerateExtra
If true, extra chain information is computed/stored.
SequenceStatisticalOptions * m_filteredChainStatisticalOptionsObj
std::string m_amAdaptedMatricesDataOutputFileType
The filetype of m_amAdaptedMatricesDataOutputFileName. Only "m" (matlab) is currently supported...
std::set< unsigned int > m_amAdaptedMatricesDataOutputAllowedSet
This option is a no-op. The default is the empty set.
std::string m_option_dr_listOfScalesForExtraStages
Option name for MhOptionsValues::m_drScalesForExtraStages. Option name is m_prefix + "mh_dr_listOfSca...
std::string m_option_help
std::string m_option_rawChain_measureRunTimes
MhOptionsValues m_ov
This class is where the actual options are stored.
std::string m_option_am_adaptedMatrices_dataOutputAllowAll
unsigned int m_filteredChainLag
Set the lag for the filtered chain. Default is 1.
std::string m_option_filteredChain_dataOutputAllowAll
Option name for MhOptionsValues::m_filteredChainDataOutputAllowAll. Option name is m_prefix + "mh_fil...
std::string m_option_tk_useNewtonComponent
Option name for MhOptionsValues::m_tkUseNewtonComponent. Option name is m_prefix + "mh_tk_useNewtonCo...
friend std::ostream & operator<<(std::ostream &os, const MhOptionsValues &obj)
std::string m_filteredChainDataOutputFileName
If not ".", file name to save the filtered chain to. Default is ".".
std::set< unsigned int > m_dataOutputAllowedSet
The set of MPI ranks that can write output. See m_dataOutputAllowAll.
std::string m_option_totallyMute
Option name for MhOptionsValues::m_totallyMute. Option name is m_prefix + "mh_totallyMute".
std::string m_option_initialPosition_dataInputFileName
Option name for MhOptionsValues::m_initialPositionDataInputFileName. Option name is m_prefix + "mh_in...
std::string m_option_rawChain_dataOutputPeriod
Option name for MhOptionsValues::m_rawChainDataOutputPeriod. Option name is m_prefix + "mh_rawChain_d...
std::string m_option_dr_listOfScalesForExtraStages
std::string m_option_am_eta
See MhOptionsValues::m_amEta.
bool m_amAdaptedMatricesDataOutputAllowAll
This option is a no-op. The default is false.
std::string m_option_am_adaptedMatrices_dataOutputAllowAll
Option name for MhOptionsValues::m_amAdaptedMatricesDataOutputAllowAll. Option name is m_prefix + "mh...
std::string m_option_filteredChain_computeStats
Option name for MhOptionsValues::m_filteredChainComputeStats. Option name is m_prefix + "mh_filteredC...
std::string m_option_initialProposalCovMatrix_dataInputFileName
std::unique_ptr< T > Type
std::string m_algorithm
Which algorithm to use for the MCMC. Default is "random_walk".
std::string m_option_algorithm
Option name for MhOptionsValues::m_algorithm. Option name is m_prefix + "mh_algorithm".
double m_amEpsilon
Regularisation parameter for the DRAM covariance matrix.
std::string m_option_am_initialNonAdaptInterval
bool m_outputLogLikelihood
Flag for deciding whether or not to dump log likelihood values in output. Default is true...
std::string m_option_dr_maxNumExtraStages
Option name for MhOptionsValues::m_drMaxNumExtraStages. Option name is m_prefix + "mh_dr_maxNumExtraS...
std::string m_option_rawChain_dataOutputFileType
std::string m_option_filteredChain_dataOutputAllowAll
std::string m_option_am_adaptedMatrices_dataOutputFileName
Option name for MhOptionsValues::m_amAdaptedMatricesDataOutputFileName. Option name is m_prefix + "mh...
unsigned int m_drMaxNumExtraStages
The number of delayed rejection stages to do. Default is 0.
~MetropolisHastingsSGOptions()
Destructor.
std::string m_option_listOfDisabledParameters
std::string m_option_dataOutputAllowedSet
std::string m_option_dr_maxNumExtraStages
bool m_rawChainComputeStats
Flag to tell QUESO whether or not to compute chain statistics. Default is false.
std::string m_option_dr_duringAmNonAdaptiveInt
Option name for MhOptionsValues::m_drDuringAmNonAdaptiveInt. Option name is m_prefix + "mh_dr_duringA...
std::string m_option_rawChain_dataInputFileName
std::string m_option_rawChain_dataOutputAllowAll
Option name for MhOptionsValues::m_rawChainDataOutputAllowAll. Option name is m_prefix + "mh_rawChain...
std::string m_option_outputLogTarget
Option name for MhOptionsValues::m_outputLogTarget. Option name is m_prefix + "mh_outputLogTarget".
std::string m_option_am_adaptedMatrices_dataOutputPeriod
Option name for MhOptionsValues::m_amAdaptedMatricesDataOutputPeriod. Option name is m_prefix + "mh_a...
std::string m_option_rawChain_dataOutputAllowedSet
A templated class that stores statistical options (optionally read from an input file) ...
std::string m_option_filteredChain_dataOutputFileType
std::string m_rawChainDataInputFileType
The filetype of m_rawChainDataInputFileName. Only "m" (matlab) is currently supported. Default is "m".
std::set< unsigned int > m_rawChainDataOutputAllowedSet
The set of MPI ranks that will write Markov chain output to a file. See also m_rawChainDataOutputAllo...
std::string m_rawChainDataOutputFileName
If not ".", filename to write the Markov chain to.
std::string m_option_initialPosition_dataInputFileName
std::string m_option_dataOutputAllowAll
std::string m_option_dr_duringAmNonAdaptiveInt
std::string m_option_help
Option name for MhOptionsValues::m_help. Option name is m_prefix + "mh_help".
std::string m_option_initialPosition_dataInputFileType
unsigned int m_rawChainDataOutputPeriod
The frequency with which to write chain output. Defaults to 0.
bool m_amKeepInitialMatrix
This option is a no-op. The default is false.
std::string m_option_rawChain_dataInputFileType
std::string m_option_updateInterval
std::string m_option_am_keepInitialMatrix
std::string m_option_displayCandidates
std::string m_tk
Which transition kernel to use for MCMC. Default is "random_walk".
void getMyOptionValues(boost::program_options::options_description &optionsDesc)
Gets the sequence options defined to the Metropolis-Hastings algorithm.
std::string m_option_rawChain_generateExtra
std::string m_option_dataOutputAllowedSet
Option name for MhOptionsValues::m_dataOutputAllowedSet. Option name is m_prefix + "mh_dataOutputAllo...
std::string m_option_rawChain_dataInputFileName
Option name for MhOptionsValues::m_rawChainDataInputFileName. Option name is m_prefix + "mh_rawChain_...
MhOptionsValues & operator=(const MhOptionsValues &rhs)
Assignment operator; it copies rhs to this.
bool m_displayCandidates
Toggle to tell QUESO whether or not to write proposal (candidate) state to output file...
std::string m_option_am_adaptInterval
std::string m_option_rawChain_generateExtra
Option name for MhOptionsValues::m_rawChainGenerateExtra. Option name is m_prefix + "mh_rawChain_gene...
std::string m_option_totallyMute
std::string m_option_rawChain_dataOutputFileType
Option name for MhOptionsValues::m_rawChainDataOutputFileType. Option name is m_prefix + "mh_rawChain...
std::string m_option_rawChain_computeStats
unsigned int m_amInitialNonAdaptInterval
The number of initial samples to do without adapting the proposal covariance matrix.
std::string m_option_enableBrooksGelmanConvMonitor
std::string m_initialPositionDataInputFileName
If not ".", reads the contents of the file and uses that to start the MCMC. Default is "...
std::string m_option_tk_useLocalHessian
Option name for MhOptionsValues::m_tkUseLocalHessian. Option name is m_prefix + "mh_tk_useLocalHessia...
std::string m_option_rawChain_measureRunTimes
Option name for MhOptionsValues::m_rawChainMeasureRunTimes. Option name is m_prefix + "mh_rawChain_me...
bool m_rawChainDataOutputAllowAll
Toggle for whether or not to allow all processes to write Markov chain output to a file...
std::string m_rawChainDataOutputFileType
The filetype of m_rawChainDataOutputFileName.
unsigned int m_rawChainSize
The size of the chain (number of posterior samples) to generate. Default is 100.
std::string m_option_updateInterval
Option name for MhOptionsValues::m_updateInterval. Option name is m_prefix + "mh_updateInterval".
void checkOptions(const BaseEnvironment *env)
std::string m_option_outputLogTarget
std::string m_initialProposalCovMatrixDataInputFileName
If not ".", reads the contents of the file as the initial proposal covariance matrix.
unsigned int m_updateInterval
How often to call the TK's updateTK method. Default is 1.
std::string m_option_filteredChain_computeStats
std::string m_option_putOutOfBoundsInChain
SsOptionsValues m_alternativeRawSsOptionsValues
unsigned int m_enableBrooksGelmanConvMonitor
The frequency with which to compute the Brooks-Gelman convergence statistic.
std::string m_option_BrooksGelmanLag
Option name for MhOptionsValues::m_BrooksGelmanLag. Option name is m_prefix + "mh_BrooksGelmanLag".
std::string m_option_filteredChain_generate
Option name for MhOptionsValues::m_filteredChainGenerate. Option name is m_prefix + "mh_filteredChain...
This class provides options for the Metropolis-Hastings generator of samples if no input file is avai...
std::string m_option_am_adaptedMatrices_dataOutputPeriod
void defineMyOptions(boost::program_options::options_description &optionsDesc) const
Defines the options for the Metropolis-Hastings generator of samples as the default options...
std::string m_option_am_adaptedMatrices_dataOutputFileType
Option name for MhOptionsValues::m_amAdaptedMatricesDataOutputFileType. Option name is m_prefix + "mh...
bool m_outputLogTarget
Flag for deciding whether or not to dump log target values in output Default is true.
unsigned int m_rawChainDisplayPeriod
The frequency with which to output diagnostic information.
bool m_tkUseLocalHessian
Flag to tell QUESO whether or not to use Hessian information for the proposal covariance matrix...
std::string m_option_rawChain_displayPeriod
ScopedPtr< boost::program_options::options_description >::Type m_optionsDesc
bool m_filteredChainComputeStats
Toggle to tell QUESO whether or not to compute statistics on the filtered chain. Default is false...
std::string m_dataOutputFileName
The base name of output files where the chain (and related information) will be written.
std::string m_option_dataOutputFileName
std::string m_option_algorithm
std::string m_option_rawChain_dataOutputAllowAll
void scanOptionsValues()
It scans the option values from the options input file.
SsOptionsValues m_alternativeFilteredSsOptionsValues
std::string m_option_rawChain_dataOutputAllowedSet
Option name for MhOptionsValues::m_rawChainDataOutputAllowedSet. Option name is m_prefix + "mh_rawCha...
std::string m_option_enableBrooksGelmanConvMonitor
Option name for MhOptionsValues::m_enableBrooksGelmanConvMonitor. Option name is m_prefix + "mh_enabl...
std::string m_option_tk
Option name for MhOptionsValues::m_tk. Option name is m_prefix + "mh_tk".
std::string m_filteredChainDataOutputFileType
The filetype of m_filteredChainDataOutputFileName. Only "m" (matlab) is currently supported...
bool m_rawChainMeasureRunTimes
If true, measures timings spent in various chain computions and writes them to the output file...
bool m_rawChainStatOptsInstantiated
std::string m_option_tk_useNewtonComponent
std::string m_option_filteredChain_dataOutputAllowedSet
Option name for MhOptionsValues::m_filteredChainDataOutputAllowedSet. Option name is m_prefix + "mh_f...
std::string m_option_filteredChain_discardedPortion
Option name for MhOptionsValues::m_filteredChainDiscardedPortion. Option name is m_prefix + "mh_filte...
bool m_filteredChainGenerate
Toggle the option to save a filtered chain.
std::string m_option_am_keepInitialMatrix
Option name for MhOptionsValues::m_amKeepInitialMatrix. Option name is m_prefix + "mh_am_keepInitialM...
virtual ~MhOptionsValues()
Destructor.
std::string m_option_filteredChain_lag
Option name for MhOptionsValues::m_filteredChainLag. Option name is m_prefix + "mh_filteredChain_lag"...
bool m_filteredChainDataOutputAllowAll
Toggle for whether or not to allow all processes to write filtered Markov chain output to a file...
const BaseEnvironment & m_env
bool m_putOutOfBoundsInChain
Flag to tell QUESO how chains should be upon generating a proposal that is out of the problem domain...
MetropolisHastingsSGOptions(const BaseEnvironment &env, const char *prefix)
Constructor: reads options from the input file.
double m_amEta
Proposal covariance scaling factor, usually 2.4 * 2.4 / d.
std::set< unsigned int > m_parameterDisabledSet
Set of parameters that don't get sampled.
std::string m_option_am_adaptedMatrices_dataOutputFileName
std::string m_option_outputLogLikelihood
std::string m_option_filteredChain_dataOutputFileType
Option name for MhOptionsValues::m_filteredChainDataOutputFileType. Option name is m_prefix + "mh_fil...
std::string m_option_rawChain_size
Option name for MhOptionsValues::m_rawChainSize. Option name is m_prefix + "mh_rawChain_size".
MhOptionsValues()
Default constructor.
std::string m_option_doLogitTransform
Option name for MhOptionsValues::m_doLogitTransform. Option name is m_prefix + "mh_doLogitTransform"...
std::string m_option_dataOutputAllowAll
Option name for MhOptionsValues::m_dataOutputAllowAll. Option name is m_prefix + "mh_dataOutputAllowA...
const BaseEnvironment * m_env
std::string m_amAdaptedMatricesDataOutputFileName
If not ".", this is the file to write adapted proposal covariance matrices to. Default is "...
std::string m_option_filteredChain_lag
std::string m_option_rawChain_size
std::string m_option_am_epsilon
Option name for MhOptionsValues::m_amEpsilon. Option name is m_prefix + "mh_am_epsilon".
SequenceStatisticalOptions * m_rawChainStatisticalOptionsObj
bool m_totallyMute
If true, zero output is written to files. Default is false.
ScopedPtr< BoostInputOptionsParser >::Type m_parser
std::string m_option_dataOutputFileName
Option name for MhOptionsValues::m_dataOutputFileName. Option name is m_prefix + "mh_dataOutputFileNa...
std::string m_initialProposalCovMatrixDataInputFileType
The filetype of m_initialProposalCovMatrixDataInputFileName. Only "m" (matlab) is currently supported...
This class provides options for each level of the Multilevel sequence generator if no input file is a...
std::string m_option_rawChain_dataInputFileType
Option name for MhOptionsValues::m_rawChainDataInputFileType. Option name is m_prefix + "mh_rawChain_...
bool m_tkUseNewtonComponent
This option is a no-op. Default is true.
void print(std::ostream &os) const
It prints the option values.
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
unsigned int m_BrooksGelmanLag
The lag with which to compute the Brooks-Gelman convergence statistic.
std::string m_option_filteredChain_dataOutputAllowedSet
std::string m_option_initialProposalCovMatrix_dataInputFileName
Option name for MhOptionsValues::m_initialProposalCovMatrixDataInputFileName. Option name is m_prefix...
std::string m_option_putOutOfBoundsInChain
Option name for MhOptionsValues::m_putOutOfBoundsInChain. Option name is m_prefix + "mh_putOutOfBound...