25 #include <queso/config_queso.h>
26 #include <queso/MLSamplingLevelOptions.h>
27 #include <queso/Miscellaneous.h>
35 m_prefix ((std::string)(prefix) +
""),
36 m_help (UQ_ML_SAMPLING_L_HELP),
37 #ifdef ML_CODE_HAS_NEW_RESTART_CAPABILITY
39 m_checkpointOutputFileName (UQ_ML_SAMPLING_L_CHECKPOINT_OUTPUT_FILE_NAME_ODV),
41 m_stopAtEnd (UQ_ML_SAMPLING_L_STOP_AT_END_ODV),
43 m_dataOutputAllowAll (UQ_ML_SAMPLING_L_DATA_OUTPUT_ALLOW_ALL_ODV),
46 m_loadBalanceAlgorithmId (UQ_ML_SAMPLING_L_LOAD_BALANCE_ALGORITHM_ID_ODV),
47 m_loadBalanceTreshold (UQ_ML_SAMPLING_L_LOAD_BALANCE_TRESHOLD_ODV),
48 m_minEffectiveSizeRatio (UQ_ML_SAMPLING_L_MIN_EFFECTIVE_SIZE_RATIO_ODV),
49 m_maxEffectiveSizeRatio (UQ_ML_SAMPLING_L_MAX_EFFECTIVE_SIZE_RATIO_ODV),
50 m_scaleCovMatrix (UQ_ML_SAMPLING_L_SCALE_COV_MATRIX_ODV),
51 m_minRejectionRate (UQ_ML_SAMPLING_L_MIN_REJECTION_RATE_ODV),
52 m_maxRejectionRate (UQ_ML_SAMPLING_L_MAX_REJECTION_RATE_ODV),
53 m_covRejectionRate (UQ_ML_SAMPLING_L_COV_REJECTION_RATE_ODV),
54 m_minAcceptableEta (UQ_ML_SAMPLING_L_MIN_ACCEPTABLE_ETA_ODV),
55 m_totallyMute (UQ_ML_SAMPLING_L_TOTALLY_MUTE_ODV),
56 m_initialPositionDataInputFileName (UQ_ML_SAMPLING_L_INITIAL_POSITION_DATA_INPUT_FILE_NAME_ODV),
57 m_initialPositionDataInputFileType (UQ_ML_SAMPLING_L_INITIAL_POSITION_DATA_INPUT_FILE_TYPE_ODV),
58 m_initialProposalCovMatrixDataInputFileName(UQ_ML_SAMPLING_L_INITIAL_PROPOSAL_COV_MATRIX_DATA_INPUT_FILE_NAME_ODV),
59 m_initialProposalCovMatrixDataInputFileType(UQ_ML_SAMPLING_L_INITIAL_PROPOSAL_COV_MATRIX_DATA_INPUT_FILE_TYPE_ODV),
60 m_initialPositionUsePreviousLevelLikelihood(UQ_ML_SAMPLING_L_INITIAL_POSITION_USE_PREVIOUS_LEVEL_LIKELIHOOD_ODV),
63 m_initialValuesOfDisabledParameters (0),
65 m_rawChainDataInputFileName (UQ_ML_SAMPLING_L_RAW_CHAIN_DATA_INPUT_FILE_NAME_ODV),
66 m_rawChainDataInputFileType (UQ_ML_SAMPLING_L_RAW_CHAIN_DATA_INPUT_FILE_TYPE_ODV),
67 m_rawChainSize (UQ_ML_SAMPLING_L_RAW_CHAIN_SIZE_ODV),
68 m_rawChainGenerateExtra (UQ_ML_SAMPLING_L_RAW_CHAIN_GENERATE_EXTRA_ODV),
69 m_rawChainDisplayPeriod (UQ_ML_SAMPLING_L_RAW_CHAIN_DISPLAY_PERIOD_ODV),
70 m_rawChainMeasureRunTimes (UQ_ML_SAMPLING_L_RAW_CHAIN_MEASURE_RUN_TIMES_ODV),
71 m_rawChainDataOutputPeriod (UQ_ML_SAMPLING_L_RAW_CHAIN_DATA_OUTPUT_PERIOD_ODV),
72 m_rawChainDataOutputFileName (UQ_ML_SAMPLING_L_RAW_CHAIN_DATA_OUTPUT_FILE_NAME_ODV),
73 m_rawChainDataOutputFileType (UQ_ML_SAMPLING_L_RAW_CHAIN_DATA_OUTPUT_FILE_TYPE_ODV),
74 m_rawChainDataOutputAllowAll (UQ_ML_SAMPLING_L_RAW_CHAIN_DATA_OUTPUT_ALLOW_ALL_ODV),
77 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
78 m_rawChainComputeStats (UQ_ML_SAMPLING_L_RAW_CHAIN_COMPUTE_STATS_ODV),
79 m_rawChainStatisticalOptionsObj (NULL),
80 m_rawChainStatOptsInstantiated (false),
82 m_filteredChainGenerate (UQ_ML_SAMPLING_L_FILTERED_CHAIN_GENERATE_ODV),
83 m_filteredChainDiscardedPortion (UQ_ML_SAMPLING_L_FILTERED_CHAIN_DISCARDED_PORTION_ODV),
84 m_filteredChainLag (UQ_ML_SAMPLING_L_FILTERED_CHAIN_LAG_ODV),
85 m_filteredChainDataOutputFileName (UQ_ML_SAMPLING_L_FILTERED_CHAIN_DATA_OUTPUT_FILE_NAME_ODV),
86 m_filteredChainDataOutputFileType (UQ_ML_SAMPLING_L_FILTERED_CHAIN_DATA_OUTPUT_FILE_TYPE_ODV),
87 m_filteredChainDataOutputAllowAll (UQ_ML_SAMPLING_L_FILTERED_CHAIN_DATA_OUTPUT_ALLOW_ALL_ODV),
90 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
91 m_filteredChainComputeStats (UQ_ML_SAMPLING_L_FILTERED_CHAIN_COMPUTE_STATS_ODV),
92 m_filteredChainStatisticalOptionsObj (NULL),
93 m_filteredChainStatOptsInstantiated (false),
95 m_displayCandidates (UQ_ML_SAMPLING_L_DISPLAY_CANDIDATES_ODV),
96 m_putOutOfBoundsInChain (UQ_ML_SAMPLING_L_PUT_OUT_OF_BOUNDS_IN_CHAIN_ODV),
97 m_tkUseLocalHessian (UQ_ML_SAMPLING_L_TK_USE_LOCAL_HESSIAN_ODV),
98 m_tkUseNewtonComponent (UQ_ML_SAMPLING_L_TK_USE_NEWTON_COMPONENT_ODV),
99 m_drMaxNumExtraStages (UQ_ML_SAMPLING_L_DR_MAX_NUM_EXTRA_STAGES_ODV),
100 m_drScalesForExtraStages (0),
102 m_drDuringAmNonAdaptiveInt (UQ_ML_SAMPLING_L_DR_DURING_AM_NON_ADAPTIVE_INT_ODV),
103 m_amKeepInitialMatrix (UQ_ML_SAMPLING_L_AM_KEEP_INITIAL_MATRIX_ODV),
104 m_amInitialNonAdaptInterval (UQ_ML_SAMPLING_L_AM_INIT_NON_ADAPT_INT_ODV),
105 m_amAdaptInterval (UQ_ML_SAMPLING_L_AM_ADAPT_INTERVAL_ODV),
106 m_amAdaptedMatricesDataOutputPeriod (UQ_ML_SAMPLING_L_AM_ADAPTED_MATRICES_DATA_OUTPUT_PERIOD_ODV),
107 m_amAdaptedMatricesDataOutputFileName (UQ_ML_SAMPLING_L_AM_ADAPTED_MATRICES_DATA_OUTPUT_FILE_NAME_ODV),
108 m_amAdaptedMatricesDataOutputFileType (UQ_ML_SAMPLING_L_AM_ADAPTED_MATRICES_DATA_OUTPUT_FILE_TYPE_ODV),
109 m_amAdaptedMatricesDataOutputAllowAll (UQ_ML_SAMPLING_L_AM_ADAPTED_MATRICES_DATA_OUTPUT_ALLOW_ALL_ODV),
112 m_amEta (UQ_ML_SAMPLING_L_AM_ETA_ODV),
113 m_amEpsilon (UQ_ML_SAMPLING_L_AM_EPSILON_ODV),
115 #ifndef QUESO_DISABLE_BOOST_PROGRAM_OPTIONS
118 m_option_help (m_prefix +
"help" ),
119 #ifdef ML_CODE_HAS_NEW_RESTART_CAPABILITY
121 m_option_checkpointOutputFileName (m_prefix +
"checkpointOutputFileName" ),
123 m_option_stopAtEnd (m_prefix +
"stopAtEnd" ),
124 m_option_dataOutputFileName (m_prefix +
"dataOutputFileName" ),
125 m_option_dataOutputAllowAll (m_prefix +
"dataOutputAllowAll" ),
126 m_option_dataOutputAllowedSet (m_prefix +
"dataOutputAllowedSet" ),
127 m_option_loadBalanceAlgorithmId (m_prefix +
"loadBalanceAlgorithmId" ),
128 m_option_loadBalanceTreshold (m_prefix +
"loadBalanceTreshold" ),
129 m_option_minEffectiveSizeRatio (m_prefix +
"minEffectiveSizeRatio" ),
130 m_option_maxEffectiveSizeRatio (m_prefix +
"maxEffectiveSizeRatio" ),
131 m_option_scaleCovMatrix (m_prefix +
"scaleCovMatrix" ),
132 m_option_minRejectionRate (m_prefix +
"minRejectionRate" ),
133 m_option_maxRejectionRate (m_prefix +
"maxRejectionRate" ),
134 m_option_covRejectionRate (m_prefix +
"covRejectionRate" ),
135 m_option_minAcceptableEta (m_prefix +
"minAcceptableEta" ),
136 m_option_totallyMute (m_prefix +
"totallyMute" ),
137 m_option_initialPosition_dataInputFileName (m_prefix +
"initialPosition_dataInputFileName" ),
138 m_option_initialPosition_dataInputFileType (m_prefix +
"initialPosition_dataInputFileType" ),
139 m_option_initialProposalCovMatrix_dataInputFileName(m_prefix +
"initialProposalCovMatrix_dataInputFileName"),
140 m_option_initialProposalCovMatrix_dataInputFileType(m_prefix +
"initialProposalCovMatrix_dataInputFileType"),
141 m_option_initialPositionUsePreviousLevelLikelihood (m_prefix +
"initialPositionUsePreviousLevelLikelihood" ),
142 m_option_listOfDisabledParameters (m_prefix +
"listOfDisabledParameters" ),
143 m_option_initialValuesOfDisabledParameters (m_prefix +
"initialValuesOfDisabledParameters" ),
144 m_option_rawChain_dataInputFileName (m_prefix +
"rawChain_dataInputFileName" ),
145 m_option_rawChain_dataInputFileType (m_prefix +
"rawChain_dataInputFileType" ),
146 m_option_rawChain_size (m_prefix +
"rawChain_size" ),
147 m_option_rawChain_generateExtra (m_prefix +
"rawChain_generateExtra" ),
148 m_option_rawChain_displayPeriod (m_prefix +
"rawChain_displayPeriod" ),
149 m_option_rawChain_measureRunTimes (m_prefix +
"rawChain_measureRunTimes" ),
150 m_option_rawChain_dataOutputPeriod (m_prefix +
"rawChain_dataOutputPeriod" ),
151 m_option_rawChain_dataOutputFileName (m_prefix +
"rawChain_dataOutputFileName" ),
152 m_option_rawChain_dataOutputFileType (m_prefix +
"rawChain_dataOutputFileType" ),
153 m_option_rawChain_dataOutputAllowAll (m_prefix +
"rawChain_dataOutputAllowAll" ),
154 m_option_rawChain_dataOutputAllowedSet (m_prefix +
"rawChain_dataOutputAllowedSet" ),
155 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
156 m_option_rawChain_computeStats (m_prefix +
"rawChain_computeStats" ),
158 m_option_filteredChain_generate (m_prefix +
"filteredChain_generate" ),
159 m_option_filteredChain_discardedPortion (m_prefix +
"filteredChain_discardedPortion" ),
160 m_option_filteredChain_lag (m_prefix +
"filteredChain_lag" ),
161 m_option_filteredChain_dataOutputFileName (m_prefix +
"filteredChain_dataOutputFileName" ),
162 m_option_filteredChain_dataOutputFileType (m_prefix +
"filteredChain_dataOutputFileType" ),
163 m_option_filteredChain_dataOutputAllowAll (m_prefix +
"filteredChain_dataOutputAllowAll" ),
164 m_option_filteredChain_dataOutputAllowedSet (m_prefix +
"filteredChain_dataOutputAllowedSet" ),
165 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
166 m_option_filteredChain_computeStats (m_prefix +
"filteredChain_computeStats" ),
168 m_option_displayCandidates (m_prefix +
"displayCandidates" ),
169 m_option_putOutOfBoundsInChain (m_prefix +
"putOutOfBoundsInChain" ),
170 m_option_tk_useLocalHessian (m_prefix +
"tk_useLocalHessian" ),
171 m_option_tk_useNewtonComponent (m_prefix +
"tk_useNewtonComponent" ),
172 m_option_dr_maxNumExtraStages (m_prefix +
"dr_maxNumExtraStages" ),
173 m_option_dr_listOfScalesForExtraStages (m_prefix +
"dr_listOfScalesForExtraStages" ),
174 m_option_dr_duringAmNonAdaptiveInt (m_prefix +
"dr_duringAmNonAdaptiveInt" ),
175 m_option_am_keepInitialMatrix (m_prefix +
"am_keepInitialMatrix" ),
176 m_option_am_initialNonAdaptInterval (m_prefix +
"am_initialNonAdaptInterval" ),
177 m_option_am_adaptInterval (m_prefix +
"am_adaptInterval" ),
178 m_option_am_adaptedMatrices_dataOutputPeriod (m_prefix +
"amAdaptedMatrices_dataOutputPeriod" ),
179 m_option_am_adaptedMatrices_dataOutputFileName (m_prefix +
"amAdaptedMatrices_dataOutputFileName" ),
180 m_option_am_adaptedMatrices_dataOutputFileType (m_prefix +
"amAdaptedMatrices_dataOutputFileType" ),
181 m_option_am_adaptedMatrices_dataOutputAllowAll (m_prefix +
"amAdaptedMatrices_dataOutputAllowAll" ),
182 m_option_am_adaptedMatrices_dataOutputAllowedSet (m_prefix +
"amAdaptedMatrices_dataOutputAllowedSet" ),
183 m_option_am_eta (m_prefix +
"am_eta" ),
184 m_option_am_epsilon (m_prefix +
"am_epsilon" ),
185 m_option_doLogitTransform (m_prefix +
"doLogitTransform" ),
186 m_option_algorithm (m_prefix +
"algorithm" ),
187 m_option_tk (m_prefix +
"tk" ),
188 m_option_updateInterval (m_prefix +
"updateInterval" )
190 #ifndef QUESO_DISABLE_BOOST_PROGRAM_OPTIONS
193 #endif // QUESO_DISABLE_BOOST_PROGRAM_OPTIONS
202 #ifndef QUESO_DISABLE_BOOST_PROGRAM_OPTIONS
204 #ifdef ML_CODE_HAS_NEW_RESTART_CAPABILITY
240 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
250 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
274 #endif // QUESO_DISABLE_BOOST_PROGRAM_OPTIONS
280 #ifndef QUESO_DISABLE_BOOST_PROGRAM_OPTIONS
282 #ifdef ML_CODE_HAS_NEW_RESTART_CAPABILITY
318 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
328 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
354 #ifdef ML_CODE_HAS_NEW_RESTART_CAPABILITY
363 unsigned int size =
m_env.
input().vector_variable_size(m_option_dataOutputAllowedSet);
364 for (
unsigned int i = 0; i <
size; i++) {
388 size =
m_env.
input().vector_variable_size(m_option_listOfDisabledParameters);
389 for (
unsigned int i = 0; i <
size; i++) {
397 size =
m_env.
input().vector_variable_size(m_option_initialValuesOfDisabledParameters);
398 for (
unsigned int i = 0; i <
size; i++) {
417 size =
m_env.
input().vector_variable_size(m_option_rawChain_dataOutputAllowedSet);
418 for (
unsigned int i = 0; i <
size; i++) {
425 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
436 size =
m_env.
input().vector_variable_size(m_option_filteredChain_dataOutputAllowedSet);
437 for (
unsigned int i = 0; i <
size; i++) {
444 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
454 size =
m_env.
input().vector_variable_size(m_option_dr_listOfScalesForExtraStages);
457 for (
unsigned int i = 0; i <
size; i++) {
471 size =
m_env.
input().vector_variable_size(m_option_am_adaptedMatrices_dataOutputAllowedSet);
472 for (
unsigned int i = 0; i <
size; i++) {
485 #endif // QUESO_DISABLE_BOOST_PROGRAM_OPTIONS
491 #ifdef ML_CODE_HAS_NEW_RESTART_CAPABILITY
532 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
545 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
584 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
598 #ifndef QUESO_DISABLE_BOOST_PROGRAM_OPTIONS
608 #endif // QUESO_DISABLE_BOOST_PROGRAM_OPTIONS
611 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
643 sprintf(tmpStr,
"%d",(
int)(*setIt));
657 sprintf(tmpStr,
"%d",(
int)(*setIt));
678 sprintf(tmpStr,
"%d",(
int)(*setIt));
695 sprintf(tmpStr,
"%d",(
int)(*setIt));
728 sprintf(tmpStr,
"%d",(
int)(*setIt));
737 os <<
"m_prefix" <<
" = " <<
m_prefix
738 #ifdef ML_CODE_HAS_NEW_RESTART_CAPABILITY
787 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
801 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
844 #ifndef QUESO_DISABLE_BOOST_PROGRAM_OPTIONS
845 os << (*(obj.
m_parser)) << std::endl;
846 #endif // QUESO_DISABLE_BOOST_PROGRAM_OPTIONS
std::string m_option_am_epsilon
unsigned int m_rawChainDataOutputPeriod
Period of message display during raw chain generation.
SequenceStatisticalOptions * m_filteredChainStatisticalOptionsObj
std::string m_amAdaptedMatricesDataOutputFileName
Name of output file for 'am' adapted matrices.
bool m_rawChainComputeStats
Compute statistics on raw chain.
void checkOptions(const BaseEnvironment *env)
bool m_filteredChainGenerate
Whether or not to generate filtered chain.
unsigned int m_drMaxNumExtraStages
'dr' maximum number of extra stages.
std::string m_option_maxEffectiveSizeRatio
bool m_rawChainDataOutputAllowAll
Whether or not subEnvs will write to output file for raw chain.
std::string m_algorithm
Which algorithm to use for sampling.
std::string m_option_updateInterval
std::string m_option_putOutOfBoundsInChain
double m_minAcceptableEta
minimum acceptable eta,
unsigned int subId() const
Access function to the number of each sub-environment Id: m_subId.
std::string m_option_rawChain_dataOutputFileName
std::set< unsigned int > m_amAdaptedMatricesDataOutputAllowedSet
subEnvs that will write to output file for 'am' adapted matrices.
std::string m_option_initialPositionUsePreviousLevelLikelihood
bool m_totallyMute
Whether or not to be totally mute (no printout message).
std::string m_option_dataOutputAllowedSet
std::string m_option_filteredChain_dataOutputFileType
std::string m_option_dr_listOfScalesForExtraStages
std::string m_option_initialProposalCovMatrix_dataInputFileName
std::string m_option_totallyMute
std::string m_option_stopAtEnd
std::string m_option_maxRejectionRate
std::string m_option_filteredChain_dataOutputAllowedSet
std::string m_option_checkpointOutputFileName
std::vector< double > m_initialValuesOfDisabledParameters
std::string m_rawChainDataInputFileName
Name of input file for raw chain.
bool m_displayCandidates
Display candidates generated in the core MH algorithm.
bool m_amAdaptedMatricesDataOutputAllowAll
Whether or not subEnvs will write to output file for 'am' adapted matrices.
std::string m_option_displayCandidates
std::string m_str1
subEnvs that will write to generic output file.
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
A templated class that stores statistical options (optionally read from an input file) ...
void getOption(const std::string &name, T &value) const
Get option name from the parser and set value to the parsed value.
std::string m_option_filteredChain_computeStats
std::string m_option_rawChain_dataOutputAllowAll
std::string m_initialPositionDataInputFileName
Name of input file for initial position.
std::string m_initialProposalCovMatrixDataInputFileName
Name of input file for initial proposal covariance matrix.
std::string m_option_tk_useNewtonComponent
void scanOptionsValues(const MLSamplingLevelOptions *defaultOptions)
unsigned int m_loadBalanceAlgorithmId
Perform load balancing with chosen algorithm (0 = no balancing).
bool m_scaleCovMatrix
Whether or not scale proposal covariance matrix.
unsigned int m_rawChainSize
Size of raw chain.
std::string m_option_rawChain_dataOutputPeriod
std::ostream & operator<<(std::ostream &os, const SequenceStatisticalOptions &obj)
std::string m_option_minEffectiveSizeRatio
std::string m_option_filteredChain_lag
const GetPot & input() const
The GetPot input file parser.
std::string m_option_rawChain_size
double m_maxEffectiveSizeRatio
Maximum allowed effective size ratio wrt previous level.
std::string m_rawChainDataOutputFileType
Type of output file for raw chain.
double m_amEta
'am' eta.
std::string optionsInputFileName() const
Access to the attribute m_optionsInputFileName, which stores the name of the input file passed by the...
bool m_rawChainGenerateExtra
Generate extra information about raw chain.
std::string m_initialPositionDataInputFileType
Type of input file for initial position.
void registerOption(const std::string &name, const T &defaultValue, const std::string &description)
Call this to register an option with the parser.
std::string m_option_dataOutputFileName
std::string m_option_rawChain_computeStats
bool m_doLogitTransform
Whether or not a logit transform will be done for bounded domains.
std::string m_option_am_adaptedMatrices_dataOutputFileType
std::string m_option_initialProposalCovMatrix_dataInputFileType
std::string m_option_rawChain_dataOutputAllowedSet
std::string m_option_am_adaptedMatrices_dataOutputAllowedSet
double m_minEffectiveSizeRatio
Minimum allowed effective size ratio wrt previous level.
bool m_putOutOfBoundsInChain
Put 'out of bound' candidates in chain as well.
std::string m_option_rawChain_generateExtra
std::string m_option_rawChain_measureRunTimes
unsigned int m_amInitialNonAdaptInterval
'am' initial non adaptation interval
double m_minRejectionRate
minimum allowed attempted rejection rate at current level
std::string m_option_am_adaptedMatrices_dataOutputFileName
unsigned int m_filteredChainLag
Spacing for chain filtering.
unsigned int m_amAdaptInterval
'am' adaptation interval.
void scanInputFile()
This is the method that parses the input file.
void copyOptionsValues(const MLSamplingLevelOptions &srcOptions)
Copies the option values from srcOptions to this.
std::string m_option_rawChain_displayPeriod
const BaseEnvironment & m_env
std::string m_option_rawChain_dataOutputFileType
Option name for MLSamplingLevelOptions::m_rawChainDataOutputFileType. Option name is m_prefix + "ml_r...
std::string m_filteredChainDataOutputFileName
Name of output file for filtered chain.
std::string m_option_initialValuesOfDisabledParameters
void print(std::ostream &os) const
std::string m_rawChainDataOutputFileName
Name of output file for raw chain.
std::string m_option_help
std::string m_option_minAcceptableEta
bool m_rawChainStatOptsInstantiated
std::string m_option_filteredChain_generate
std::string m_tk
Which transition kernel to use for sampling.
double m_maxRejectionRate
maximum allowed attempted rejection rate at current level.
std::string m_option_initialPosition_dataInputFileType
double m_loadBalanceTreshold
Perform load balancing if load unbalancing ratio > threshold.
std::set< unsigned int > m_dataOutputAllowedSet
subEnvs that will write to generic output file.
std::string m_dataOutputFileName
Name of generic output file.
unsigned int m_updateInterval
How often to call the TK's updateTK method.
unsigned int m_rawChainDisplayPeriod
Period of message display during raw chain generation.
BoostInputOptionsParser * m_parser
std::string m_option_covRejectionRate
bool m_stopAtEnd
Stop at end of such level.
std::string m_option_loadBalanceAlgorithmId
std::string m_option_filteredChain_discardedPortion
std::string m_option_scaleCovMatrix
std::string m_option_doLogitTransform
bool m_dataOutputAllowAll
subEnvs that will write to generic output file.
std::string m_option_am_keepInitialMatrix
bool m_tkUseNewtonComponent
Whether or not 'proposal' uses Newton component.
SequenceStatisticalOptions * m_rawChainStatisticalOptionsObj
const BaseEnvironment & env() const
Access to the environment.
std::string m_option_dataOutputAllowAll
This class provides options for each level of the Multilevel sequence generator if no input file is a...
std::string m_initialProposalCovMatrixDataInputFileType
Type of input file for initial proposal covariance matrix.
std::string m_option_dr_duringAmNonAdaptiveInt
std::string m_option_am_adaptedMatrices_dataOutputAllowAll
bool m_filteredChainComputeStats
Compute statistics on filtered chain.
std::string m_option_am_adaptedMatrices_dataOutputPeriod
std::string m_option_filteredChain_dataOutputAllowAll
bool m_tkUseLocalHessian
Whether or not 'proposal' uses local Hessian.
double m_covRejectionRate
c.o.v. for judging attempted rejection rate at current level.
std::string m_amAdaptedMatricesDataOutputFileType
Type of output file for 'am' adapted matrices.
std::string m_option_algorithm
std::string m_option_listOfDisabledParameters
MLSamplingLevelOptions(const BaseEnvironment &env, const char *prefix)
Constructor: reads options from the input file.
bool m_filteredChainDataOutputAllowAll
Whether or not subEnvs will write to output file for filtered chain.
std::string m_option_am_eta
std::set< unsigned int > m_rawChainDataOutputAllowedSet
subEnvs that will write to output file for raw chain.
std::string m_option_minRejectionRate
std::string m_rawChainDataInputFileType
Type of input file for raw chain.
std::string m_option_am_initialNonAdaptInterval
std::string m_checkpointOutputFileName
Name of checkpoint output file.
bool m_drDuringAmNonAdaptiveInt
Whether or not 'dr' is used during 'am' non adaptive interval.
bool m_amKeepInitialMatrix
Whether or not 'am' will keep initial (given) matrix.
std::string m_option_am_adaptInterval
std::string m_help
If non-empty string, print options and values to output file.
std::string m_option_initialPosition_dataInputFileName
virtual ~MLSamplingLevelOptions()
Destructor.
double m_filteredChainDiscardedPortion
Initial discarded portion for chain filtering.
std::string m_option_dr_maxNumExtraStages
std::vector< double > m_drScalesForExtraStages
'dr' list of scales for proposal covariance matrices from 2nd stage on.
std::set< unsigned int > m_parameterDisabledSet
std::set< unsigned int > m_filteredChainDataOutputAllowedSet
subEnvs that will write to output file for filtered chain.
std::string m_option_rawChain_dataInputFileName
std::string m_option_loadBalanceTreshold
std::string m_option_rawChain_dataInputFileType
std::string m_filteredChainDataOutputFileType
Type of output file for filtered chain.
std::string m_option_tk_useLocalHessian
double m_amEpsilon
'am' epsilon.
bool m_initialPositionUsePreviousLevelLikelihood
Use previous level likelihood for initial chain position instead of re-computing it from target pdf...
std::string m_option_filteredChain_dataOutputFileName
std::ofstream * subDisplayFile() const
Access function for m_subDisplayFile (displays file on stream).
bool m_filteredChainStatOptsInstantiated
bool m_rawChainMeasureRunTimes
Whether or not to measure run times.
unsigned int m_amAdaptedMatricesDataOutputPeriod
Period for outputing 'am' adapted matrices.