25 #include <queso/MLSamplingLevelOptions.h>
26 #include <queso/Miscellaneous.h>
34 m_prefix ((std::string)(prefix) +
""),
61 m_initialValuesOfDisabledParameters (0),
75 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
76 m_rawChainComputeStats (UQ_ML_SAMPLING_L_RAW_CHAIN_COMPUTE_STATS_ODV),
77 m_rawChainStatisticalOptionsObj (NULL),
78 m_rawChainStatOptsInstantiated (false),
88 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
89 m_filteredChainComputeStats (UQ_ML_SAMPLING_L_FILTERED_CHAIN_COMPUTE_STATS_ODV),
90 m_filteredChainStatisticalOptionsObj (NULL),
91 m_filteredChainStatOptsInstantiated (false),
98 m_drScalesForExtraStages (0),
113 m_optionsDesc (new po::options_description(
"Multilevel sampling level options")),
114 m_option_help (m_prefix +
"help" ),
117 m_option_checkpointOutputFileName (m_prefix +
"checkpointOutputFileName" ),
119 m_option_stopAtEnd (m_prefix +
"stopAtEnd" ),
120 m_option_dataOutputFileName (m_prefix +
"dataOutputFileName" ),
121 m_option_dataOutputAllowAll (m_prefix +
"dataOutputAllowAll" ),
122 m_option_dataOutputAllowedSet (m_prefix +
"dataOutputAllowedSet" ),
123 m_option_loadBalanceAlgorithmId (m_prefix +
"loadBalanceAlgorithmId" ),
124 m_option_loadBalanceTreshold (m_prefix +
"loadBalanceTreshold" ),
125 m_option_minEffectiveSizeRatio (m_prefix +
"minEffectiveSizeRatio" ),
126 m_option_maxEffectiveSizeRatio (m_prefix +
"maxEffectiveSizeRatio" ),
127 m_option_scaleCovMatrix (m_prefix +
"scaleCovMatrix" ),
128 m_option_minRejectionRate (m_prefix +
"minRejectionRate" ),
129 m_option_maxRejectionRate (m_prefix +
"maxRejectionRate" ),
130 m_option_covRejectionRate (m_prefix +
"covRejectionRate" ),
131 m_option_minAcceptableEta (m_prefix +
"minAcceptableEta" ),
132 m_option_totallyMute (m_prefix +
"totallyMute" ),
133 m_option_initialPosition_dataInputFileName (m_prefix +
"initialPosition_dataInputFileName" ),
134 m_option_initialPosition_dataInputFileType (m_prefix +
"initialPosition_dataInputFileType" ),
135 m_option_initialProposalCovMatrix_dataInputFileName(m_prefix +
"initialProposalCovMatrix_dataInputFileName"),
136 m_option_initialProposalCovMatrix_dataInputFileType(m_prefix +
"initialProposalCovMatrix_dataInputFileType"),
137 m_option_initialPositionUsePreviousLevelLikelihood (m_prefix +
"initialPositionUsePreviousLevelLikelihood" ),
138 m_option_listOfDisabledParameters (m_prefix +
"listOfDisabledParameters" ),
139 m_option_initialValuesOfDisabledParameters (m_prefix +
"initialValuesOfDisabledParameters" ),
140 m_option_rawChain_dataInputFileName (m_prefix +
"rawChain_dataInputFileName" ),
141 m_option_rawChain_dataInputFileType (m_prefix +
"rawChain_dataInputFileType" ),
142 m_option_rawChain_size (m_prefix +
"rawChain_size" ),
143 m_option_rawChain_generateExtra (m_prefix +
"rawChain_generateExtra" ),
144 m_option_rawChain_displayPeriod (m_prefix +
"rawChain_displayPeriod" ),
145 m_option_rawChain_measureRunTimes (m_prefix +
"rawChain_measureRunTimes" ),
146 m_option_rawChain_dataOutputPeriod (m_prefix +
"rawChain_dataOutputPeriod" ),
147 m_option_rawChain_dataOutputFileName (m_prefix +
"rawChain_dataOutputFileName" ),
148 m_option_rawChain_dataOutputFileType (m_prefix +
"rawChain_dataOutputFileType" ),
149 m_option_rawChain_dataOutputAllowAll (m_prefix +
"rawChain_dataOutputAllowAll" ),
150 m_option_rawChain_dataOutputAllowedSet (m_prefix +
"rawChain_dataOutputAllowedSet" ),
151 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
152 m_option_rawChain_computeStats (m_prefix +
"rawChain_computeStats" ),
154 m_option_filteredChain_generate (m_prefix +
"filteredChain_generate" ),
155 m_option_filteredChain_discardedPortion (m_prefix +
"filteredChain_discardedPortion" ),
156 m_option_filteredChain_lag (m_prefix +
"filteredChain_lag" ),
157 m_option_filteredChain_dataOutputFileName (m_prefix +
"filteredChain_dataOutputFileName" ),
158 m_option_filteredChain_dataOutputFileType (m_prefix +
"filteredChain_dataOutputFileType" ),
159 m_option_filteredChain_dataOutputAllowAll (m_prefix +
"filteredChain_dataOutputAllowAll" ),
160 m_option_filteredChain_dataOutputAllowedSet (m_prefix +
"filteredChain_dataOutputAllowedSet" ),
161 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
162 m_option_filteredChain_computeStats (m_prefix +
"filteredChain_computeStats" ),
164 m_option_displayCandidates (m_prefix +
"displayCandidates" ),
165 m_option_putOutOfBoundsInChain (m_prefix +
"putOutOfBoundsInChain" ),
166 m_option_tk_useLocalHessian (m_prefix +
"tk_useLocalHessian" ),
167 m_option_tk_useNewtonComponent (m_prefix +
"tk_useNewtonComponent" ),
168 m_option_dr_maxNumExtraStages (m_prefix +
"dr_maxNumExtraStages" ),
169 m_option_dr_listOfScalesForExtraStages (m_prefix +
"dr_listOfScalesForExtraStages" ),
170 m_option_dr_duringAmNonAdaptiveInt (m_prefix +
"dr_duringAmNonAdaptiveInt" ),
171 m_option_am_keepInitialMatrix (m_prefix +
"am_keepInitialMatrix" ),
172 m_option_am_initialNonAdaptInterval (m_prefix +
"am_initialNonAdaptInterval" ),
173 m_option_am_adaptInterval (m_prefix +
"am_adaptInterval" ),
174 m_option_am_adaptedMatrices_dataOutputPeriod (m_prefix +
"amAdaptedMatrices_dataOutputPeriod" ),
175 m_option_am_adaptedMatrices_dataOutputFileName (m_prefix +
"amAdaptedMatrices_dataOutputFileName" ),
176 m_option_am_adaptedMatrices_dataOutputFileType (m_prefix +
"amAdaptedMatrices_dataOutputFileType" ),
177 m_option_am_adaptedMatrices_dataOutputAllowAll (m_prefix +
"amAdaptedMatrices_dataOutputAllowAll" ),
178 m_option_am_adaptedMatrices_dataOutputAllowedSet (m_prefix +
"amAdaptedMatrices_dataOutputAllowedSet" ),
179 m_option_am_eta (m_prefix +
"am_eta" ),
180 m_option_am_epsilon (m_prefix +
"am_epsilon" ),
181 m_option_doLogitTransform (m_prefix +
"doLogitTransform" )
188 #ifdef ML_CODE_HAS_NEW_RESTART_CAPABILITY
229 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
230 m_rawChainComputeStats = srcOptions.m_rawChainComputeStats;
231 m_rawChainStatisticalOptionsObj = NULL;
232 m_rawChainStatOptsInstantiated =
false;
242 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
243 m_filteredChainComputeStats = srcOptions.m_filteredChainComputeStats;
244 m_filteredChainStatisticalOptionsObj = NULL;
245 m_filteredChainStatOptsInstantiated =
false;
278 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
279 if (m_filteredChainStatOptsInstantiated)
delete m_filteredChainStatisticalOptionsObj;
280 if (m_rawChainStatOptsInstantiated )
delete m_rawChainStatisticalOptionsObj;
298 <<
": after getting values of options with prefix '" <<
m_prefix
299 <<
"', state of object is:"
304 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
305 if (m_rawChainComputeStats) {
306 m_rawChainStatisticalOptionsObj =
new SequenceStatisticalOptions(
m_env,
m_prefix +
"rawChain_");
307 m_rawChainStatOptsInstantiated =
true;
309 if (m_filteredChainComputeStats) {
310 m_filteredChainStatisticalOptionsObj =
new SequenceStatisticalOptions(
m_env,
m_prefix +
"filteredChain_");
311 m_filteredChainStatOptsInstantiated =
true;
320 optionsDesc.add_options()
321 (
m_option_help.c_str(),
"produce help message for Bayesian Markov chain distr. calculator")
358 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
359 (m_option_rawChain_computeStats.c_str(), po::value<bool >()->default_value(m_rawChainComputeStats ),
"compute statistics on raw chain" )
368 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
369 (m_option_filteredChain_computeStats.c_str(), po::value<bool >()->default_value(m_filteredChainComputeStats ),
"compute statistics on filtered chain" )
406 #ifdef ML_CODE_HAS_NEW_RESTART_CAPABILITY
430 std::vector<double> tmpAllow(0,0.);
434 if (tmpAllow.size() > 0) {
435 for (
unsigned int i = 0; i < tmpAllow.size(); ++i) {
442 sprintf(tmpStr,
"%d",(
int)(*setIt));
459 std::cerr <<
"WARNING In MLSamplingLevelOptions::getMyOptionsValues()"
476 std::cerr <<
"WARNING In MLSamplingLevelOptions::getMyOptionsValues()"
497 std::cerr <<
"WARNING In MLSamplingLevelOptions::getMyOptionsValues()"
514 std::cerr <<
"WARNING In MLSamplingLevelOptions::getMyOptionsValues()"
531 std::cerr <<
"WARNING In MLSamplingLevelOptions::getMyOptionsValues()"
574 std::vector<double> tmpAllow(0,0.);
577 if (tmpAllow.size() > 0) {
578 for (
unsigned int i = 0; i < tmpAllow.size(); ++i) {
585 sprintf(tmpStr,
"%d",(
int)(*setIt));
652 std::vector<double> tmpAllow(0,0.);
656 if (tmpAllow.size() > 0) {
657 for (
unsigned int i = 0; i < tmpAllow.size(); ++i) {
664 sprintf(tmpStr,
"%d",(
int)(*setIt));
669 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
671 m_rawChainComputeStats = ((
const po::variable_value&)
m_env.
allOptionsMap()[m_option_rawChain_computeStats.c_str()]).as<bool>();
691 std::cerr <<
"WARNING In MLSamplingLevelOptions::getMyOptionsValues()"
721 std::vector<double> tmpAllow(0,0.);
725 if (tmpAllow.size() > 0) {
726 for (
unsigned int i = 0; i < tmpAllow.size(); ++i) {
733 sprintf(tmpStr,
"%d",(
int)(*setIt));
738 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
740 m_filteredChainComputeStats = ((
const po::variable_value&)
m_env.
allOptionsMap()[m_option_filteredChain_computeStats.c_str()]).as<bool>();
763 std::vector<double> tmpScales(0,0.);
780 unsigned int tmpSize = tmpScales.size();
785 if (i < tmpSize) scale = tmpScales[i];
836 std::vector<double> tmpAllow(0,0.);
840 if (tmpAllow.size() > 0) {
841 for (
unsigned int i = 0; i < tmpAllow.size(); ++i) {
848 sprintf(tmpStr,
"%d",(
int)(*setIt));
869 os <<
"m_prefix" <<
" = " <<
m_prefix
870 #ifdef ML_CODE_HAS_NEW_RESTART_CAPABILITY
919 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
920 <<
"\n" << m_option_rawChain_computeStats <<
" = " << m_rawChainComputeStats
933 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
934 <<
"\n" << m_option_filteredChain_computeStats <<
" = " << m_filteredChainComputeStats
std::string m_option_rawChain_generateExtra
void defineMyOptions(po::options_description &optionsDesc) const
Defines the options for the Multilevel generator of samples as the default options.
#define UQ_ML_SAMPLING_L_MIN_REJECTION_RATE_ODV
bool m_totallyMute
Whether or not to be totally mute (no printout message).
#define UQ_ML_SAMPLING_L_FILTERED_CHAIN_LAG_ODV
int subRank() const
Access function for sub-rank.
double m_minRejectionRate
minimum allowed attempted rejection rate at current level
bool m_tkUseLocalHessian
Whether or not 'proposal' uses local Hessian.
std::string m_option_filteredChain_dataOutputFileName
std::string m_checkpointOutputFileName
Name of checkpoint output file.
std::string m_option_dr_listOfScalesForExtraStages
std::string m_option_dataOutputAllowedSet
std::string m_initialProposalCovMatrixDataInputFileName
Name of input file for initial proposal covariance matrix.
std::string m_option_listOfDisabledParameters
bool m_filteredChainDataOutputAllowAll
Whether or not subEnvs will write to output file for filtered chain.
std::string m_option_rawChain_dataInputFileType
#define UQ_ML_SAMPLING_L_RAW_CHAIN_DATA_OUTPUT_FILE_TYPE_ODV
std::string m_option_maxEffectiveSizeRatio
#define UQ_ML_SAMPLING_L_AM_ADAPTED_MATRICES_DATA_OUTPUT_PERIOD_ODV
std::string m_option_am_eta
std::string m_option_displayCandidates
bool m_rawChainDataOutputAllowAll
Whether or not subEnvs will write to output file for raw chain.
int inter0Rank() const
Returns the process inter0 rank.
std::string m_option_rawChain_dataOutputFileName
std::string m_option_minRejectionRate
unsigned int m_rawChainDataOutputPeriod
Period of message display during raw chain generation.
int worldRank() const
Returns the process world rank.
std::string m_rawChainDataInputFileType
Type of input file for raw chain.
std::string m_option_rawChain_dataOutputAllowedSet
#define UQ_ML_SAMPLING_L_RAW_CHAIN_DATA_OUTPUT_PERIOD_ODV
#define UQ_ML_SAMPLING_L_RAW_CHAIN_DISPLAY_PERIOD_ODV
#define UQ_ML_SAMPLING_L_DISPLAY_CANDIDATES_ODV
#define UQ_ML_SAMPLING_L_FILTERED_CHAIN_GENERATE_ODV
std::string m_option_stopAtEnd
std::ofstream * subDisplayFile() const
Access function for m_subDisplayFile (displays file on stream).
std::set< unsigned int > m_filteredChainDataOutputAllowedSet
subEnvs that will write to output file for filtered chain.
bool m_rawChainGenerateExtra
Generate extra information about raw chain.
std::string m_option_rawChain_dataOutputFileType
#define UQ_ML_SAMPLING_L_DO_LOGIT_TRANSFORM
#define UQ_ML_SAMPLING_L_RAW_CHAIN_GENERATE_EXTRA_ODV
std::string m_option_filteredChain_lag
#define UQ_ML_SAMPLING_L_DR_MAX_NUM_EXTRA_STAGES_ODV
std::string m_filteredChainDataOutputFileName
Name of output file for filtered chain.
std::string m_option_initialPositionUsePreviousLevelLikelihood
std::string m_option_rawChain_dataInputFileName
std::string m_str1
subEnvs that will write to generic output file.
#define UQ_ML_SAMPLING_L_MIN_EFFECTIVE_SIZE_RATIO_ODV
std::string m_option_putOutOfBoundsInChain
std::string m_option_tk_useLocalHessian
std::string m_option_am_keepInitialMatrix
unsigned int m_rawChainDisplayPeriod
Period of message display during raw chain generation.
po::variables_map & allOptionsMap() const
std::string m_rawChainDataOutputFileType
Type of output file for raw chain.
std::string m_filteredChainDataOutputFileType
Type of output file for filtered chain.
std::string m_amAdaptedMatricesDataOutputFileName
Name of output file for 'am' adapted matrices.
bool m_filteredChainGenerate
Whether or not to generate filtered chain.
#define UQ_ML_SAMPLING_L_INITIAL_PROPOSAL_COV_MATRIX_DATA_INPUT_FILE_NAME_ODV
#define UQ_ML_SAMPLING_L_FILTERED_CHAIN_DATA_OUTPUT_ALLOW_ALL_ODV
std::string m_option_rawChain_measureRunTimes
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
#define UQ_ML_SAMPLING_L_TK_USE_NEWTON_COMPONENT_ODV
std::string m_option_am_adaptedMatrices_dataOutputFileType
std::ostream & operator<<(std::ostream &os, const BaseEnvironment &obj)
void print(std::ostream &os) const
It prints the option values.
std::string m_initialPositionDataInputFileType
Type of input file for initial position.
bool m_amKeepInitialMatrix
Whether or not 'am' will keep initial (given) matrix.
#define UQ_ML_SAMPLING_L_RAW_CHAIN_MEASURE_RUN_TIMES_ODV
std::string m_option_initialProposalCovMatrix_dataInputFileType
#define UQ_ML_SAMPLING_L_AM_ADAPTED_MATRICES_DATA_OUTPUT_FILE_NAME_ODV
#define UQ_ML_SAMPLING_L_INITIAL_POSITION_DATA_INPUT_FILE_TYPE_ODV
std::string m_option_initialPosition_dataInputFileType
#define UQ_ML_SAMPLING_L_MAX_REJECTION_RATE_ODV
std::string m_option_am_adaptedMatrices_dataOutputAllowAll
std::vector< double > m_initialValuesOfDisabledParameters
void getMyOptionValues(po::options_description &optionsDesc)
Gets the sequence options defined to the Multilevel algorithm.
#define UQ_ML_SAMPLING_L_RAW_CHAIN_DATA_INPUT_FILE_TYPE_ODV
double m_maxRejectionRate
maximum allowed attempted rejection rate at current level.
#define UQ_ML_SAMPLING_L_FILTERED_CHAIN_DATA_OUTPUT_FILE_NAME_ODV
const BaseEnvironment & m_env
unsigned int m_rawChainSize
Size of raw chain.
#define UQ_ML_SAMPLING_L_RAW_CHAIN_DATA_INPUT_FILE_NAME_ODV
void MiscReadDoublesFromString(const std::string &inputString, std::vector< double > &outputDoubles)
#define UQ_ML_SAMPLING_L_INITIAL_POSITION_USE_PREVIOUS_LEVEL_LIKELIHOOD_ODV
bool m_amAdaptedMatricesDataOutputAllowAll
Whether or not subEnvs will write to output file for 'am' adapted matrices.
std::string m_option_am_adaptedMatrices_dataOutputPeriod
double m_maxEffectiveSizeRatio
Maximum allowed effective size ratio wrt previous level.
double m_loadBalanceTreshold
Perform load balancing if load unbalancing ratio > threshold.
#define UQ_ML_SAMPLING_L_MAX_EFFECTIVE_SIZE_RATIO_ODV
#define UQ_ML_SAMPLING_L_LOAD_BALANCE_ALGORITHM_ID_ODV
std::string m_option_filteredChain_discardedPortion
#define UQ_ML_SAMPLING_L_AM_INIT_NON_ADAPT_INT_ODV
std::string m_option_filteredChain_dataOutputFileType
#define UQ_ML_SAMPLING_L_RAW_CHAIN_SIZE_ODV
#define UQ_ML_SAMPLING_L_PUT_OUT_OF_BOUNDS_IN_CHAIN_ODV
std::string m_option_scaleCovMatrix
std::string m_option_minAcceptableEta
unsigned int m_filteredChainLag
Spacing for chain filtering.
std::string m_option_totallyMute
~MLSamplingLevelOptions()
Destructor.
#define UQ_ML_SAMPLING_L_DATA_OUTPUT_ALLOW_ALL_ODV
std::string m_option_loadBalanceAlgorithmId
std::string m_option_covRejectionRate
MLSamplingLevelOptions(const BaseEnvironment &env, const char *prefix)
Constructor: reads options from the input file.
#define UQ_ML_SAMPLING_L_MIN_ACCEPTABLE_ETA_ODV
std::string m_rawChainDataInputFileName
Name of input file for raw chain.
bool m_initialPositionUsePreviousLevelLikelihood
Use previous level likelihood for initial chain position instead of re-computing it from target pdf...
#define UQ_ML_SAMPLING_L_COV_REJECTION_RATE_ODV
std::string m_rawChainDataOutputFileName
Name of output file for raw chain.
#define UQ_ML_SAMPLING_L_CHECKPOINT_OUTPUT_FILE_NAME_ODV
#define UQ_ML_SAMPLING_L_TOTALLY_MUTE_ODV
#define UQ_ML_SAMPLING_L_INITIAL_POSITION_DATA_INPUT_FILE_NAME_ODV
std::string m_option_rawChain_dataOutputPeriod
std::string m_option_initialValuesOfDisabledParameters
bool m_dataOutputAllowAll
subEnvs that will write to generic output file.
std::string m_option_am_adaptedMatrices_dataOutputAllowedSet
std::string m_option_rawChain_size
#define UQ_ML_SAMPLING_L_SCALE_COV_MATRIX_ODV
std::string m_option_am_adaptInterval
double m_amEta
'am' eta.
#define UQ_ML_SAMPLING_L_AM_ADAPT_INTERVAL_ODV
int fullRank() const
Returns the process full rank.
double m_amEpsilon
'am' epsilon.
#define UQ_ML_SAMPLING_L_TK_USE_LOCAL_HESSIAN_ODV
std::string m_option_tk_useNewtonComponent
double m_minEffectiveSizeRatio
Minimum allowed effective size ratio wrt previous level.
#define UQ_ML_SAMPLING_L_RAW_CHAIN_DATA_OUTPUT_ALLOW_ALL_ODV
unsigned int m_drMaxNumExtraStages
'dr' maximum number of extra stages.
std::string m_option_dr_maxNumExtraStages
#define UQ_ML_SAMPLING_L_DATA_OUTPUT_FILE_NAME_ODV
std::string m_dataOutputFileName
Name of generic output file.
std::set< unsigned int > m_dataOutputAllowedSet
subEnvs that will write to generic output file.
std::string m_option_dr_duringAmNonAdaptiveInt
po::options_description * m_optionsDesc
std::string m_option_am_epsilon
#define UQ_ML_SAMPLING_L_AM_ADAPTED_MATRICES_DATA_OUTPUT_FILE_TYPE_ODV
bool m_scaleCovMatrix
Whether or not scale proposal covariance matrix.
std::string m_option_checkpointOutputFileName
#define ML_CODE_HAS_NEW_RESTART_CAPABILITY
std::string m_initialProposalCovMatrixDataInputFileType
Type of input file for initial proposal covariance matrix.
std::string m_option_loadBalanceTreshold
std::string m_option_rawChain_displayPeriod
std::string m_option_dataOutputFileName
std::set< unsigned int > m_rawChainDataOutputAllowedSet
subEnvs that will write to output file for raw chain.
void scanOptionsValues(const MLSamplingLevelOptions *defaultOptions)
It scans the option values from the options input file.
std::set< unsigned int > m_parameterDisabledSet
std::string m_option_initialPosition_dataInputFileName
bool m_stopAtEnd
Stop at end of such level.
#define UQ_ML_SAMPLING_L_FILTERED_CHAIN_DISCARDED_PORTION_ODV
#define UQ_ML_SAMPLING_L_INITIAL_PROPOSAL_COV_MATRIX_DATA_INPUT_FILE_TYPE_ODV
std::string m_option_am_adaptedMatrices_dataOutputFileName
void copyOptionsValues(const MLSamplingLevelOptions &srcOptions)
Copies the option values from srcOptions to this.
std::string m_option_am_initialNonAdaptInterval
std::string m_option_initialProposalCovMatrix_dataInputFileName
#define UQ_ML_SAMPLING_L_DR_DURING_AM_NON_ADAPTIVE_INT_ODV
unsigned int m_amAdaptInterval
'am' adaptation interval.
std::set< unsigned int > m_amAdaptedMatricesDataOutputAllowedSet
subEnvs that will write to output file for 'am' adapted matrices.
std::string m_option_filteredChain_dataOutputAllowAll
std::string m_option_filteredChain_dataOutputAllowedSet
bool m_putOutOfBoundsInChain
Put 'out of bound' candidates in chain as well.
#define UQ_ML_SAMPLING_L_AM_ETA_ODV
std::string m_option_dataOutputAllowAll
double m_minAcceptableEta
minimum acceptable eta,
double m_filteredChainDiscardedPortion
Initial discarded portion for chain filtering.
unsigned int m_amAdaptedMatricesDataOutputPeriod
Period for outputing 'am' adapted matrices.
std::string m_option_rawChain_dataOutputAllowAll
std::vector< double > m_drScalesForExtraStages
'dr' list of scales for proposal covariance matrices from 2nd stage on.
std::string m_option_doLogitTransform
std::string m_initialPositionDataInputFileName
Name of input file for initial position.
#define UQ_ML_SAMPLING_L_LOAD_BALANCE_TRESHOLD_ODV
unsigned int subId() const
Access function to the number of each sub-environment Id: m_subId.
#define UQ_ML_SAMPLING_L_FILTERED_CHAIN_DATA_OUTPUT_FILE_TYPE_ODV
double m_covRejectionRate
c.o.v. for judging attempted rejection rate at current level.
unsigned int m_loadBalanceAlgorithmId
Perform load balancing with chosen algorithm (0 = no balancing).
std::string m_amAdaptedMatricesDataOutputFileType
Type of output file for 'am' adapted matrices.
#define UQ_ML_SAMPLING_L_AM_EPSILON_ODV
bool m_tkUseNewtonComponent
Whether or not 'proposal' uses Newton component.
std::string m_option_filteredChain_generate
#define UQ_ML_SAMPLING_L_STOP_AT_END_ODV
bool m_rawChainMeasureRunTimes
Whether or not to measure run times.
bool m_displayCandidates
Display candidates generated in the core MH algorithm.
std::string m_option_help
const BaseEnvironment & env() const
Access to the environment.
#define UQ_ML_SAMPLING_L_RAW_CHAIN_DATA_OUTPUT_FILE_NAME_ODV
std::string m_option_minEffectiveSizeRatio
#define UQ_ML_SAMPLING_L_AM_KEEP_INITIAL_MATRIX_ODV
unsigned int m_amInitialNonAdaptInterval
'am' initial non adaptation interval
#define UQ_ML_SAMPLING_L_AM_ADAPTED_MATRICES_DATA_OUTPUT_ALLOW_ALL_ODV
This class provides options for each level of the Multilevel sequence generator if no input file is a...
void scanInputFileForMyOptions(const po::options_description &optionsDesc) const
This method scans the input file provided by the user to QUESO.
bool m_drDuringAmNonAdaptiveInt
Whether or not 'dr' is used during 'am' non adaptive interval.
std::string m_option_maxRejectionRate
bool m_doLogitTransform
Whether or not a logit transform will be done for bounded domains.