queso-0.53.0
MetropolisHastingsSGOptions.h
Go to the documentation of this file.
1 //-----------------------------------------------------------------------bl-
2 //--------------------------------------------------------------------------
3 //
4 // QUESO - a library to support the Quantification of Uncertainty
5 // for Estimation, Simulation and Optimization
6 //
7 // Copyright (C) 2008-2015 The PECOS Development Team
8 //
9 // This library is free software; you can redistribute it and/or
10 // modify it under the terms of the Version 2.1 GNU Lesser General
11 // Public License as published by the Free Software Foundation.
12 //
13 // This library is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 // Lesser General Public License for more details.
17 //
18 // You should have received a copy of the GNU Lesser General Public
19 // License along with this library; if not, write to the Free Software
20 // Foundation, Inc. 51 Franklin Street, Fifth Floor,
21 // Boston, MA 02110-1301 USA
22 //
23 //-----------------------------------------------------------------------el-
24 
25 #ifndef UQ_MH_SG_OPTIONS_H
26 #define UQ_MH_SG_OPTIONS_H
27 
28 #include <queso/Environment.h>
29 #include <queso/MLSamplingLevelOptions.h>
30 #include <queso/SequenceStatisticalOptions.h>
31 #include <queso/BoostInputOptionsParser.h>
32 
33 #undef UQ_MH_SG_REQUIRES_INVERTED_COV_MATRICES
34 #define UQ_NOTHING_JUST_FOR_TEST_OF_SVN_ID 1
35 
36 #define UQ_MH_SG_FILENAME_FOR_NO_FILE "."
37 
38 // _ODV = option default value
39 #define UQ_MH_SG_HELP ""
40 #define UQ_MH_SG_DATA_OUTPUT_FILE_NAME_ODV UQ_MH_SG_FILENAME_FOR_NO_FILE
41 #define UQ_MH_SG_DATA_OUTPUT_ALLOW_ALL_ODV 0
42 #define UQ_MH_SG_DATA_OUTPUT_ALLOWED_SET_ODV ""
43 
44 #define UQ_MH_SG_TOTALLY_MUTE_ODV 0
45 #define UQ_MH_SG_INITIAL_POSITION_DATA_INPUT_FILE_NAME_ODV UQ_MH_SG_FILENAME_FOR_NO_FILE
46 #define UQ_MH_SG_INITIAL_POSITION_DATA_INPUT_FILE_TYPE_ODV UQ_FILE_EXTENSION_FOR_MATLAB_FORMAT
47 #define UQ_MH_SG_INITIAL_PROPOSAL_COV_MATRIX_DATA_INPUT_FILE_NAME_ODV UQ_MH_SG_FILENAME_FOR_NO_FILE
48 #define UQ_MH_SG_INITIAL_PROPOSAL_COV_MATRIX_DATA_INPUT_FILE_TYPE_ODV UQ_FILE_EXTENSION_FOR_MATLAB_FORMAT
49 #define UQ_MH_SG_LIST_OF_DISABLED_PARAMETERS_ODV ""
50 #define UQ_MH_SG_RAW_CHAIN_DATA_INPUT_FILE_NAME_ODV UQ_MH_SG_FILENAME_FOR_NO_FILE
51 #define UQ_MH_SG_RAW_CHAIN_DATA_INPUT_FILE_TYPE_ODV UQ_FILE_EXTENSION_FOR_MATLAB_FORMAT
52 #define UQ_MH_SG_RAW_CHAIN_SIZE_ODV 100
53 #define UQ_MH_SG_RAW_CHAIN_GENERATE_EXTRA_ODV 0
54 #define UQ_MH_SG_RAW_CHAIN_DISPLAY_PERIOD_ODV 500
55 #define UQ_MH_SG_RAW_CHAIN_MEASURE_RUN_TIMES_ODV 1
56 #define UQ_MH_SG_RAW_CHAIN_DATA_OUTPUT_PERIOD_ODV 0
57 #define UQ_MH_SG_RAW_CHAIN_DATA_OUTPUT_FILE_NAME_ODV UQ_MH_SG_FILENAME_FOR_NO_FILE
58 #define UQ_MH_SG_RAW_CHAIN_DATA_OUTPUT_FILE_TYPE_ODV UQ_FILE_EXTENSION_FOR_MATLAB_FORMAT
59 #define UQ_MH_SG_RAW_CHAIN_DATA_OUTPUT_ALLOW_ALL_ODV 0
60 #define UQ_MH_SG_RAW_CHAIN_DATA_OUTPUT_ALLOWED_SET_ODV ""
61 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
62 #define UQ_MH_SG_RAW_CHAIN_COMPUTE_STATS_ODV 0
63 #endif
64 #define UQ_MH_SG_FILTERED_CHAIN_GENERATE_ODV 0
65 #define UQ_MH_SG_FILTERED_CHAIN_DISCARDED_PORTION_ODV 0.
66 #define UQ_MH_SG_FILTERED_CHAIN_LAG_ODV 1
67 #define UQ_MH_SG_FILTERED_CHAIN_DATA_OUTPUT_FILE_NAME_ODV UQ_MH_SG_FILENAME_FOR_NO_FILE
68 #define UQ_MH_SG_FILTERED_CHAIN_DATA_OUTPUT_FILE_TYPE_ODV UQ_FILE_EXTENSION_FOR_MATLAB_FORMAT
69 #define UQ_MH_SG_FILTERED_CHAIN_DATA_OUTPUT_ALLOW_ALL_ODV 0
70 #define UQ_MH_SG_FILTERED_CHAIN_DATA_OUTPUT_ALLOWED_SET_ODV ""
71 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
72 #define UQ_MH_SG_FILTERED_CHAIN_COMPUTE_STATS_ODV 0
73 #endif
74 #define UQ_MH_SG_DISPLAY_CANDIDATES_ODV 0
75 #define UQ_MH_SG_PUT_OUT_OF_BOUNDS_IN_CHAIN_ODV 1
76 #define UQ_MH_SG_TK_USE_LOCAL_HESSIAN_ODV 0
77 #define UQ_MH_SG_TK_USE_NEWTON_COMPONENT_ODV 1
78 #define UQ_MH_SG_DR_MAX_NUM_EXTRA_STAGES_ODV 0
79 #define UQ_MH_SG_DR_LIST_OF_SCALES_FOR_EXTRA_STAGES_ODV ""
80 #define UQ_MH_SG_DR_DURING_AM_NON_ADAPTIVE_INT_ODV 1
81 #define UQ_MH_SG_AM_KEEP_INITIAL_MATRIX_ODV 0
82 #define UQ_MH_SG_AM_INIT_NON_ADAPT_INT_ODV 0
83 #define UQ_MH_SG_AM_ADAPT_INTERVAL_ODV 0
84 #define UQ_MH_SG_AM_ADAPTED_MATRICES_DATA_OUTPUT_PERIOD_ODV 0
85 #define UQ_MH_SG_AM_ADAPTED_MATRICES_DATA_OUTPUT_FILE_NAME_ODV UQ_MH_SG_FILENAME_FOR_NO_FILE
86 #define UQ_MH_SG_AM_ADAPTED_MATRICES_DATA_OUTPUT_FILE_TYPE_ODV UQ_FILE_EXTENSION_FOR_MATLAB_FORMAT
87 #define UQ_MH_SG_AM_ADAPTED_MATRICES_DATA_OUTPUT_ALLOW_ALL_ODV 0
88 #define UQ_MH_SG_AM_ADAPTED_MATRICES_DATA_OUTPUT_ALLOWED_SET_ODV ""
89 #define UQ_MH_SG_AM_ETA_ODV 1.
90 #define UQ_MH_SG_AM_EPSILON_ODV 1.e-5
91 #define UQ_MH_SG_ENABLE_BROOKS_GELMAN_CONV_MONITOR 0
92 #define UQ_MH_SG_BROOKS_GELMAN_LAG 100
93 #define UQ_MH_SG_OUTPUT_LOG_LIKELIHOOD 1
94 #define UQ_MH_SG_OUTPUT_LOG_TARGET 1
95 #define UQ_MH_SG_DO_LOGIT_TRANSFORM 1
96 
97 namespace boost {
98  namespace program_options {
99  class options_description;
100  }
101 }
102 
103 namespace QUESO {
104 
105 class BaseEnvironment;
106 
121 {
122 public:
123 
125 
126 
127 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
128  MhOptionsValues (const SsOptionsValues* alternativeRawSsOptionsValues,
129  const SsOptionsValues* alternativeFilteredSsOptionsValues);
130  MhOptionsValues (const SsOptionsValues* alternativeRawSsOptionsValues,
131  const SsOptionsValues* alternativeFilteredSsOptionsValues,
132  const BaseEnvironment * env, const char * prefix);
133 #else
134 
136 
137  MhOptionsValues ();
138 
140  MhOptionsValues(const BaseEnvironment * env, const char * prefix);
141 #endif
142 
144 
145  MhOptionsValues (const MhOptionsValues& src);
146 
148  virtual ~MhOptionsValues ();
150 
152 
156 
158  std::string m_prefix;
159 
161 
164  std::string m_help;
165 
167 
176  std::string m_dataOutputFileName;
177 
179 
186 
188 
191  std::set<unsigned int> m_dataOutputAllowedSet;
192 
195 
197 
201 
204 
206 
216 
219 
221 
224  std::set<unsigned int> m_parameterDisabledSet; // gpmsa2
225 
227 
236 
239 
241  unsigned int m_rawChainSize;
242 
244 
251 
253 
261 
263 
278 
281 
283 
292 
295 
297 
307 
309  std::set<unsigned int> m_rawChainDataOutputAllowedSet;
310 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
311  bool m_rawChainComputeStats;
313 #endif
314 
316 
323 
325 
331  double m_filteredChainDiscardedPortion; // input or set during run time
332 
334 
338  unsigned int m_filteredChainLag; // input or set during run time
339 
341 
348 
351 
353 
363 
365  std::set<unsigned int> m_filteredChainDataOutputAllowedSet;
366 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
367  bool m_filteredChainComputeStats;
369 #endif
370 
373 
375 
388 
390 
414 
417 
419 
426  unsigned int m_drMaxNumExtraStages;
427 
429 
445  std::vector<double> m_drScalesForExtraStages;
446 
448 
468 
471 
473 
482 
484 
491  unsigned int m_amAdaptInterval;
492 
494 
509 
511 
515 
518 
521 
524 
536  double m_amEta;
537 
548  double m_amEpsilon;
549 
551 
565 
567 
574  unsigned int m_BrooksGelmanLag;
575 
578 
581 
584 
585 private:
587 
589  std::string m_option_help;
590 
597 
599  std::string m_option_totallyMute;
609  std::string m_option_listOfDisabledParameters; // gpmsa2
632 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
633  std::string m_option_rawChain_computeStats;
635 #endif
650 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
651  std::string m_option_filteredChain_computeStats;
653 #endif
654  std::string m_option_displayCandidates;
684 
686  std::string m_option_am_eta;
688  std::string m_option_am_epsilon;
689 
694 
701 
703  void copy(const MhOptionsValues& src);
704 
705  // We pass the the passed environment to get access to the MPI ranks etc for
706  // sanity checks
707  void checkOptions(const BaseEnvironment * env);
708 
709  friend std::ostream & operator<<(std::ostream & os,
710  const MhOptionsValues & obj);
711 
712 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
713  friend class MetropolisHastingsSGOptions;
714  SsOptionsValues m_alternativeRawSsOptionsValues;
715  SsOptionsValues m_alternativeFilteredSsOptionsValues;
716 #endif
717 };
718 
734 {
735 public:
737 
738  MetropolisHastingsSGOptions(const BaseEnvironment& env, const char* prefix);
740 
742 
743  MetropolisHastingsSGOptions(const BaseEnvironment& env, const char* prefix, const MhOptionsValues& alternativeOptionsValues);
744 
747 
751 
753 
754  void scanOptionsValues();
756 
758  void print (std::ostream& os) const;
760 
763 
764 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
765  SequenceStatisticalOptions* m_rawChainStatisticalOptionsObj;
766  bool m_rawChainStatOptsInstantiated;
767  SequenceStatisticalOptions* m_filteredChainStatisticalOptionsObj;
768  bool m_filteredChainStatOptsInstantiated;
769 #endif
770  std::string m_prefix;
771 
772 private:
774  void defineMyOptions (boost::program_options::options_description& optionsDesc) const;
775 
777  void getMyOptionValues(boost::program_options::options_description& optionsDesc);
778 
780  boost::program_options::options_description* m_optionsDesc;
781 
782  std::string m_option_help;
783 
787 
788  std::string m_option_totallyMute;
793  std::string m_option_listOfDisabledParameters; // gpmsa2
805 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
806  std::string m_option_rawChain_computeStats;
807 #endif
815 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
816  std::string m_option_filteredChain_computeStats;
817 #endif
833 
835  std::string m_option_am_eta;
837  std::string m_option_am_epsilon;
838 
841 
845 };
846 
847 std::ostream& operator<<(std::ostream& os, const MetropolisHastingsSGOptions& obj);
848 
849 } // End namespace QUESO
850 
851 #endif // UQ_MH_SG_OPTIONS_H
std::string m_filteredChainDataOutputFileType
The filetype of m_filteredChainDataOutputFileName. Only &quot;m&quot; (matlab) is currently supported...
std::string m_option_filteredChain_dataOutputAllowAll
Option name for MhOptionsValues::m_filteredChainDataOutputAllowAll. Option name is m_prefix + &quot;mh_fil...
std::string m_option_am_adaptedMatrices_dataOutputPeriod
Option name for MhOptionsValues::m_amAdaptedMatricesDataOutputPeriod. Option name is m_prefix + &quot;mh_a...
bool m_doLogitTransform
Flag for deciding whether or not to do logit transform of bounded domains Default is true...
std::string m_option_filteredChain_dataOutputAllowedSet
Option name for MhOptionsValues::m_filteredChainDataOutputAllowedSet. Option name is m_prefix + &quot;mh_f...
std::string m_help
If non-empty string, print options and values to the output file.
std::string m_option_rawChain_dataOutputPeriod
Option name for MhOptionsValues::m_rawChainDataOutputPeriod. Option name is m_prefix + &quot;mh_rawChain_d...
bool m_rawChainGenerateExtra
If true, extra chain information is computed/stored.
std::string m_option_displayCandidates
Option name for MhOptionsValues::m_displayCandidates. Option name is m_prefix + &quot;mh_displayCandidates...
std::string m_option_dataOutputFileName
Option name for MhOptionsValues::m_dataOutputFileName. Option name is m_prefix + &quot;mh_dataOutputFileNa...
std::string m_option_am_eta
Option name for MhOptionsValues::m_amEta. Option name is m_prefix + &quot;mh_am_eta&quot;.
double m_amEpsilon
Regularisation parameter for the DRAM covariance matrix.
bool m_tkUseNewtonComponent
This option is a no-op. Default is true.
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_dataOutputAllowAll
Option name for MhOptionsValues::m_dataOutputAllowAll. Option name is m_prefix + &quot;mh_dataOutputAllowA...
std::string m_option_initialPosition_dataInputFileName
Option name for MhOptionsValues::m_initialPositionDataInputFileName. Option name is m_prefix + &quot;mh_in...
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...
void scanOptionsValues()
It scans the option values from the options input file.
std::string m_option_dr_listOfScalesForExtraStages
Option name for MhOptionsValues::m_drScalesForExtraStages. Option name is m_prefix + &quot;mh_dr_listOfSca...
std::string m_option_am_adaptedMatrices_dataOutputAllowAll
Option name for MhOptionsValues::m_amAdaptedMatricesDataOutputAllowAll. Option name is m_prefix + &quot;mh...
std::string m_initialPositionDataInputFileType
The filetype of m_initialPositionDataInputFileName. Only &quot;m&quot; (matlab) is currently supported...
std::string m_rawChainDataInputFileName
Filename for reading an already-produced Markov chain.
std::string m_option_outputLogLikelihood
Option name for MhOptionsValues::m_outputLogLikelihood. Option name is m_prefix + &quot;mh_outputLogLikeli...
std::string m_filteredChainDataOutputFileName
If not &quot;.&quot;, file name to save the filtered chain to. Default is &quot;.&quot;.
std::string m_option_filteredChain_discardedPortion
Option name for MhOptionsValues::m_filteredChainDiscardedPortion. Option name is m_prefix + &quot;mh_filte...
unsigned int m_amAdaptInterval
The frequency at which to adapt the proposal covariance matrix.
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.
unsigned int m_rawChainDataOutputPeriod
The frequency with which to write chain output. Defaults to 0.
bool m_outputLogTarget
Flag for deciding whether or not to dump log target values in output Default is true.
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 BaseEnvironment &obj)
This class provides options for each level of the Multilevel sequence generator if no input file is a...
std::set< unsigned int > m_amAdaptedMatricesDataOutputAllowedSet
This option is a no-op. The default is the empty set.
std::string m_option_am_adaptInterval
Option name for MhOptionsValues::m_amAdaptInterval. Option name is m_prefix + &quot;mh_am_adaptInterval&quot;.
unsigned int m_filteredChainLag
Set the lag for the filtered chain. Default is 1.
void print(std::ostream &os) const
It prints the option values.
std::string m_option_filteredChain_dataOutputFileName
Option name for MhOptionsValues::m_filteredChainDataOutputFileName. Option name is m_prefix + &quot;mh_fil...
std::string m_option_dr_maxNumExtraStages
Option name for MhOptionsValues::m_drMaxNumExtraStages. Option name is m_prefix + &quot;mh_dr_maxNumExtraS...
std::set< unsigned int > m_dataOutputAllowedSet
The set of MPI ranks that can write output. See m_dataOutputAllowAll.
bool m_rawChainDataOutputAllowAll
Toggle for whether or not to allow all processes to write Markov chain output to a file...
std::string m_option_am_adaptedMatrices_dataOutputFileName
Option name for MhOptionsValues::m_amAdaptedMatricesDataOutputFileName. Option name is m_prefix + &quot;mh...
unsigned int m_rawChainSize
The size of the chain (number of posterior samples) to generate. Default is 100.
std::string m_option_totallyMute
Option name for MhOptionsValues::m_totallyMute. Option name is m_prefix + &quot;mh_totallyMute&quot;.
unsigned int m_drMaxNumExtraStages
The number of delayed rejection stages to do. Default is 0.
std::string m_option_initialProposalCovMatrix_dataInputFileType
Option name for MhOptionsValues::m_initialProposalCovMatrixDataInputFileType. Option name is m_prefix...
bool m_amAdaptedMatricesDataOutputAllowAll
This option is a no-op. The default is false.
bool m_putOutOfBoundsInChain
Flag to tell QUESO how chains should be upon generating a proposal that is out of the problem domain...
unsigned int m_amAdaptedMatricesDataOutputPeriod
The frequency (after m_amInitialNonAdaptInterval samples are done) of printing the last adapted propo...
friend std::ostream & operator<<(std::ostream &os, const MhOptionsValues &obj)
bool m_amKeepInitialMatrix
This option is a no-op. The default is false.
std::string m_option_rawChain_measureRunTimes
Option name for MhOptionsValues::m_rawChainMeasureRunTimes. Option name is m_prefix + &quot;mh_rawChain_me...
std::string m_option_rawChain_size
Option name for MhOptionsValues::m_rawChainSize. Option name is m_prefix + &quot;mh_rawChain_size&quot;.
unsigned int m_rawChainDisplayPeriod
The frequency with which to output diagnostic information.
void checkOptions(const BaseEnvironment *env)
MhOptionsValues & operator=(const MhOptionsValues &rhs)
Assignment operator; it copies rhs to this.
std::string m_initialProposalCovMatrixDataInputFileName
If not &quot;.&quot;, reads the contents of the file as the initial proposal covariance matrix.
std::string m_option_am_adaptedMatrices_dataOutputAllowedSet
Option name for MhOptionsValues::m_amAdaptedMatricesDataOutputAllowedSet. Option name is m_prefix + &quot;...
bool m_dataOutputAllowAll
If true, all processes write output and m_dataOutputAllowedSet is ignored.
std::string m_option_dr_duringAmNonAdaptiveInt
Option name for MhOptionsValues::m_drDuringAmNonAdaptiveInt. Option name is m_prefix + &quot;mh_dr_duringA...
std::string m_option_rawChain_generateExtra
Option name for MhOptionsValues::m_rawChainGenerateExtra. Option name is m_prefix + &quot;mh_rawChain_gene...
void copy(const MhOptionsValues &src)
Copies the option values from src to this.
std::string m_option_rawChain_dataOutputAllowedSet
Option name for MhOptionsValues::m_rawChainDataOutputAllowedSet. Option name is m_prefix + &quot;mh_rawCha...
std::string m_option_enableBrooksGelmanConvMonitor
Option name for MhOptionsValues::m_enableBrooksGelmanConvMonitor. Option name is m_prefix + &quot;mh_enabl...
std::string m_option_rawChain_dataOutputAllowAll
Option name for MhOptionsValues::m_rawChainDataOutputAllowAll. Option name is m_prefix + &quot;mh_rawChain...
unsigned int m_amInitialNonAdaptInterval
The number of initial samples to do without adapting the proposal covariance matrix.
std::string m_option_tk_useLocalHessian
Option name for MhOptionsValues::m_tkUseLocalHessian. Option name is m_prefix + &quot;mh_tk_useLocalHessia...
std::string m_option_filteredChain_generate
Option name for MhOptionsValues::m_filteredChainGenerate. Option name is m_prefix + &quot;mh_filteredChain...
std::string m_option_am_initialNonAdaptInterval
Option name for MhOptionsValues::m_amInitialNonAdaptInterval. Option name is m_prefix + &quot;mh_am_initia...
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
Definition: Environment.h:193
unsigned int m_BrooksGelmanLag
The lag with which to compute the Brooks-Gelman convergence statistic.
double m_filteredChainDiscardedPortion
What initial fraction of the filtered chain is discarded.
std::string m_option_putOutOfBoundsInChain
Option name for MhOptionsValues::m_putOutOfBoundsInChain. Option name is m_prefix + &quot;mh_putOutOfBound...
std::string m_option_am_adaptedMatrices_dataOutputFileType
Option name for MhOptionsValues::m_amAdaptedMatricesDataOutputFileType. Option name is m_prefix + &quot;mh...
bool m_drDuringAmNonAdaptiveInt
Do delayed rejection during the initial non-adaptive part of sampling?
std::string m_option_am_keepInitialMatrix
Option name for MhOptionsValues::m_amKeepInitialMatrix. Option name is m_prefix + &quot;mh_am_keepInitialM...
std::string m_rawChainDataOutputFileName
If not &quot;.&quot;, filename to write the Markov chain to.
This class provides options for the Metropolis-Hastings generator of samples if no input file is avai...
std::string m_option_listOfDisabledParameters
Option name for MhOptionsValues::m_parameterDisabledSet. Option name is m_prefix + &quot;mh_listOfDisabled...
std::string m_option_rawChain_dataOutputFileName
Option name for MhOptionsValues::m_rawChainDataOutputFileName. Option name is m_prefix + &quot;mh_rawChain...
std::string m_option_BrooksGelmanLag
Option name for MhOptionsValues::m_BrooksGelmanLag. Option name is m_prefix + &quot;mh_BrooksGelmanLag&quot;.
std::string m_rawChainDataOutputFileType
The filetype of m_rawChainDataOutputFileName. Only &quot;m&quot; (matlab) is currently supported. Default is &quot;m&quot;.
std::string m_option_am_eta
See MhOptionsValues::m_amEta.
virtual ~MhOptionsValues()
Destructor.
std::string m_option_filteredChain_lag
Option name for MhOptionsValues::m_filteredChainLag. Option name is m_prefix + &quot;mh_filteredChain_lag&quot;...
std::string m_option_rawChain_dataOutputFileType
Option name for MhOptionsValues::m_rawChainDataOutputFileType. Option name is m_prefix + &quot;mh_rawChain...
bool m_totallyMute
If true, zero output is written to files. Default is false.
std::string m_option_help
Option name for MhOptionsValues::m_help. Option name is m_prefix + &quot;mh_help&quot;.
std::string m_initialPositionDataInputFileName
If not &quot;.&quot;, reads the contents of the file and uses that to start the MCMC. Default is &quot;...
std::string m_option_am_epsilon
See MhOptionsValues::m_amEpsilon.
std::string m_option_rawChain_dataInputFileType
Option name for MhOptionsValues::m_rawChainDataInputFileType. Option name is m_prefix + &quot;mh_rawChain_...
std::string m_option_initialPosition_dataInputFileType
Option name for MhOptionsValues::m_initialPositionDataInputFileType. Option name is m_prefix + &quot;mh_in...
MhOptionsValues()
Default constructor.
std::string m_option_initialProposalCovMatrix_dataInputFileName
Option name for MhOptionsValues::m_initialProposalCovMatrixDataInputFileName. Option name is m_prefix...
std::string m_option_dataOutputAllowedSet
Option name for MhOptionsValues::m_dataOutputAllowedSet. Option name is m_prefix + &quot;mh_dataOutputAllo...
BoostInputOptionsParser * m_parser
bool m_filteredChainDataOutputAllowAll
Toggle for whether or not to allow all processes to write filtered Markov chain output to a file...
bool m_displayCandidates
Toggle to tell QUESO whether or not to write proposal (candidate) state to output file...
boost::program_options::options_description * m_optionsDesc
std::string m_option_am_epsilon
Option name for MhOptionsValues::m_amEpsilon. Option name is m_prefix + &quot;mh_am_epsilon&quot;.
std::set< unsigned int > m_parameterDisabledSet
Set of parameters that don&#39;t get sampled.
MhOptionsValues m_ov
This class is where the actual options are stored.
std::string m_option_outputLogTarget
Option name for MhOptionsValues::m_outputLogTarget. Option name is m_prefix + &quot;mh_outputLogTarget&quot;.
unsigned int m_enableBrooksGelmanConvMonitor
The frequency with which to compute the Brooks-Gelman convergence statistic.
std::string m_option_tk_useNewtonComponent
Option name for MhOptionsValues::m_tkUseNewtonComponent. Option name is m_prefix + &quot;mh_tk_useNewtonCo...
bool m_rawChainMeasureRunTimes
If true, measures timings spent in various chain computions and writes them to the output file...
This class reads the options for the Metropolis-Hastings generator of samples from an input file...
std::string m_option_doLogitTransform
Option name for MhOptionsValues::m_doLogitTransform. Option name is m_prefix + &quot;mh_doLogitTransform&quot;...
std::string m_rawChainDataInputFileType
The filetype of m_rawChainDataInputFileName. Only &quot;m&quot; (matlab) is currently supported. Default is &quot;m&quot;.
bool m_tkUseLocalHessian
Flag to tell QUESO whether or not to use Hessian information for the proposal covariance matrix...
bool m_filteredChainGenerate
Toggle the option to save a filtered chain.
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_prefix
Prefix for input file option names. Prepends all options for this class.
std::string m_initialProposalCovMatrixDataInputFileType
The filetype of m_initialProposalCovMatrixDataInputFileName. Only &quot;m&quot; (matlab) is currently supported...
std::string m_option_filteredChain_dataOutputFileType
Option name for MhOptionsValues::m_filteredChainDataOutputFileType. Option name is m_prefix + &quot;mh_fil...
bool m_outputLogLikelihood
Flag for deciding whether or not to dump log likelihood values in output. Default is true...
std::string m_option_rawChain_displayPeriod
Option name for MhOptionsValues::m_rawChainDisplayPeriod. Option name is m_prefix + &quot;mh_rawChain_disp...
void getMyOptionValues(boost::program_options::options_description &optionsDesc)
Gets the sequence options defined to the Metropolis-Hastings algorithm.
std::string m_option_rawChain_dataInputFileName
Option name for MhOptionsValues::m_rawChainDataInputFileName. Option name is m_prefix + &quot;mh_rawChain_...
std::string m_dataOutputFileName
The base name of output files where the chain (and related information) will be written.
std::string m_amAdaptedMatricesDataOutputFileName
If not &quot;.&quot;, this is the file to write adapted proposal covariance matrices to. Default is &quot;...
std::string m_amAdaptedMatricesDataOutputFileType
The filetype of m_amAdaptedMatricesDataOutputFileName. Only &quot;m&quot; (matlab) is currently supported...

Generated on Thu Jun 11 2015 13:52:32 for queso-0.53.0 by  doxygen 1.8.5