25 #include <queso/MLSamplingLevelOptions.h>
26 #include <queso/Miscellaneous.h>
34 m_prefix ((std::string)(prefix) +
""),
62 m_initialValuesOfDisabledParameters (0),
76 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
77 m_rawChainComputeStats (UQ_ML_SAMPLING_L_RAW_CHAIN_COMPUTE_STATS_ODV),
78 m_rawChainStatisticalOptionsObj (NULL),
79 m_rawChainStatOptsInstantiated (false),
89 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
90 m_filteredChainComputeStats (UQ_ML_SAMPLING_L_FILTERED_CHAIN_COMPUTE_STATS_ODV),
91 m_filteredChainStatisticalOptionsObj (NULL),
92 m_filteredChainStatOptsInstantiated (false),
99 m_drScalesForExtraStages (0),
114 #ifndef DISABLE_BOOST_PROGRAM_OPTIONS
117 m_option_help (m_prefix +
"help" ),
120 m_option_checkpointOutputFileName (m_prefix +
"checkpointOutputFileName" ),
122 m_option_stopAtEnd (m_prefix +
"stopAtEnd" ),
123 m_option_dataOutputFileName (m_prefix +
"dataOutputFileName" ),
124 m_option_dataOutputAllowAll (m_prefix +
"dataOutputAllowAll" ),
125 m_option_dataOutputAllowedSet (m_prefix +
"dataOutputAllowedSet" ),
126 m_option_loadBalanceAlgorithmId (m_prefix +
"loadBalanceAlgorithmId" ),
127 m_option_loadBalanceTreshold (m_prefix +
"loadBalanceTreshold" ),
128 m_option_minEffectiveSizeRatio (m_prefix +
"minEffectiveSizeRatio" ),
129 m_option_maxEffectiveSizeRatio (m_prefix +
"maxEffectiveSizeRatio" ),
130 m_option_scaleCovMatrix (m_prefix +
"scaleCovMatrix" ),
131 m_option_minRejectionRate (m_prefix +
"minRejectionRate" ),
132 m_option_maxRejectionRate (m_prefix +
"maxRejectionRate" ),
133 m_option_covRejectionRate (m_prefix +
"covRejectionRate" ),
134 m_option_minAcceptableEta (m_prefix +
"minAcceptableEta" ),
135 m_option_totallyMute (m_prefix +
"totallyMute" ),
136 m_option_initialPosition_dataInputFileName (m_prefix +
"initialPosition_dataInputFileName" ),
137 m_option_initialPosition_dataInputFileType (m_prefix +
"initialPosition_dataInputFileType" ),
138 m_option_initialProposalCovMatrix_dataInputFileName(m_prefix +
"initialProposalCovMatrix_dataInputFileName"),
139 m_option_initialProposalCovMatrix_dataInputFileType(m_prefix +
"initialProposalCovMatrix_dataInputFileType"),
140 m_option_initialPositionUsePreviousLevelLikelihood (m_prefix +
"initialPositionUsePreviousLevelLikelihood" ),
141 m_option_listOfDisabledParameters (m_prefix +
"listOfDisabledParameters" ),
142 m_option_initialValuesOfDisabledParameters (m_prefix +
"initialValuesOfDisabledParameters" ),
143 m_option_rawChain_dataInputFileName (m_prefix +
"rawChain_dataInputFileName" ),
144 m_option_rawChain_dataInputFileType (m_prefix +
"rawChain_dataInputFileType" ),
145 m_option_rawChain_size (m_prefix +
"rawChain_size" ),
146 m_option_rawChain_generateExtra (m_prefix +
"rawChain_generateExtra" ),
147 m_option_rawChain_displayPeriod (m_prefix +
"rawChain_displayPeriod" ),
148 m_option_rawChain_measureRunTimes (m_prefix +
"rawChain_measureRunTimes" ),
149 m_option_rawChain_dataOutputPeriod (m_prefix +
"rawChain_dataOutputPeriod" ),
150 m_option_rawChain_dataOutputFileName (m_prefix +
"rawChain_dataOutputFileName" ),
151 m_option_rawChain_dataOutputFileType (m_prefix +
"rawChain_dataOutputFileType" ),
152 m_option_rawChain_dataOutputAllowAll (m_prefix +
"rawChain_dataOutputAllowAll" ),
153 m_option_rawChain_dataOutputAllowedSet (m_prefix +
"rawChain_dataOutputAllowedSet" ),
154 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
155 m_option_rawChain_computeStats (m_prefix +
"rawChain_computeStats" ),
157 m_option_filteredChain_generate (m_prefix +
"filteredChain_generate" ),
158 m_option_filteredChain_discardedPortion (m_prefix +
"filteredChain_discardedPortion" ),
159 m_option_filteredChain_lag (m_prefix +
"filteredChain_lag" ),
160 m_option_filteredChain_dataOutputFileName (m_prefix +
"filteredChain_dataOutputFileName" ),
161 m_option_filteredChain_dataOutputFileType (m_prefix +
"filteredChain_dataOutputFileType" ),
162 m_option_filteredChain_dataOutputAllowAll (m_prefix +
"filteredChain_dataOutputAllowAll" ),
163 m_option_filteredChain_dataOutputAllowedSet (m_prefix +
"filteredChain_dataOutputAllowedSet" ),
164 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
165 m_option_filteredChain_computeStats (m_prefix +
"filteredChain_computeStats" ),
167 m_option_displayCandidates (m_prefix +
"displayCandidates" ),
168 m_option_putOutOfBoundsInChain (m_prefix +
"putOutOfBoundsInChain" ),
169 m_option_tk_useLocalHessian (m_prefix +
"tk_useLocalHessian" ),
170 m_option_tk_useNewtonComponent (m_prefix +
"tk_useNewtonComponent" ),
171 m_option_dr_maxNumExtraStages (m_prefix +
"dr_maxNumExtraStages" ),
172 m_option_dr_listOfScalesForExtraStages (m_prefix +
"dr_listOfScalesForExtraStages" ),
173 m_option_dr_duringAmNonAdaptiveInt (m_prefix +
"dr_duringAmNonAdaptiveInt" ),
174 m_option_am_keepInitialMatrix (m_prefix +
"am_keepInitialMatrix" ),
175 m_option_am_initialNonAdaptInterval (m_prefix +
"am_initialNonAdaptInterval" ),
176 m_option_am_adaptInterval (m_prefix +
"am_adaptInterval" ),
177 m_option_am_adaptedMatrices_dataOutputPeriod (m_prefix +
"amAdaptedMatrices_dataOutputPeriod" ),
178 m_option_am_adaptedMatrices_dataOutputFileName (m_prefix +
"amAdaptedMatrices_dataOutputFileName" ),
179 m_option_am_adaptedMatrices_dataOutputFileType (m_prefix +
"amAdaptedMatrices_dataOutputFileType" ),
180 m_option_am_adaptedMatrices_dataOutputAllowAll (m_prefix +
"amAdaptedMatrices_dataOutputAllowAll" ),
181 m_option_am_adaptedMatrices_dataOutputAllowedSet (m_prefix +
"amAdaptedMatrices_dataOutputAllowedSet" ),
182 m_option_am_eta (m_prefix +
"am_eta" ),
183 m_option_am_epsilon (m_prefix +
"am_epsilon" ),
184 m_option_doLogitTransform (m_prefix +
"doLogitTransform" ),
185 m_option_algorithm (m_prefix +
"algorithm" ),
186 m_option_tk (m_prefix +
"tk" )
188 #ifndef DISABLE_BOOST_PROGRAM_OPTIONS
191 #endif // DISABLE_BOOST_PROGRAM_OPTIONS
200 #ifndef DISABLE_BOOST_PROGRAM_OPTIONS
202 #ifdef ML_CODE_HAS_NEW_RESTART_CAPABILITY
238 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
239 m_parser->
registerOption<
bool >(m_option_rawChain_computeStats, m_rawChainComputeStats ,
"compute statistics on raw chain" );
248 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
249 m_parser->
registerOption<
bool >(m_option_filteredChain_computeStats, m_filteredChainComputeStats ,
"compute statistics on filtered chain" );
271 #endif // DISABLE_BOOST_PROGRAM_OPTIONS
277 #ifndef DISABLE_BOOST_PROGRAM_OPTIONS
279 #ifdef ML_CODE_HAS_NEW_RESTART_CAPABILITY
315 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
316 m_parser->
getOption<
bool >(m_option_rawChain_computeStats, m_rawChainComputeStats );
325 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
326 m_parser->
getOption<
bool >(m_option_filteredChain_computeStats, m_filteredChainComputeStats );
350 #ifdef ML_CODE_HAS_NEW_RESTART_CAPABILITY
360 for (
unsigned int i = 0; i < size; i++) {
385 for (
unsigned int i = 0; i < size; i++) {
394 for (
unsigned int i = 0; i < size; i++) {
414 for (
unsigned int i = 0; i < size; i++) {
421 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
422 m_rawChainComputeStats =
m_env.
input()(m_option_rawChain_computeStats, m_rawChainComputeStats );
433 for (
unsigned int i = 0; i < size; i++) {
440 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
441 m_filteredChainComputeStats =
m_env.
input()(m_option_filteredChain_computeStats, m_filteredChainComputeStats );
453 for (
unsigned int i = 0; i < size; i++) {
468 for (
unsigned int i = 0; i < size; i++) {
480 #endif // DISABLE_BOOST_PROGRAM_OPTIONS
486 #ifdef ML_CODE_HAS_NEW_RESTART_CAPABILITY
527 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
528 m_rawChainComputeStats = srcOptions.m_rawChainComputeStats;
529 m_rawChainStatisticalOptionsObj = NULL;
530 m_rawChainStatOptsInstantiated =
false;
540 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
541 m_filteredChainComputeStats = srcOptions.m_filteredChainComputeStats;
542 m_filteredChainStatisticalOptionsObj = NULL;
543 m_filteredChainStatOptsInstantiated =
false;
578 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
579 if (m_filteredChainStatOptsInstantiated)
delete m_filteredChainStatisticalOptionsObj;
580 if (m_rawChainStatOptsInstantiated )
delete m_rawChainStatisticalOptionsObj;
592 #ifndef DISABLE_BOOST_PROGRAM_OPTIONS
602 #endif // DISABLE_BOOST_PROGRAM_OPTIONS
605 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
606 if (m_rawChainComputeStats) {
607 m_rawChainStatisticalOptionsObj =
new SequenceStatisticalOptions(
m_env,
m_prefix +
"rawChain_");
608 m_rawChainStatOptsInstantiated =
true;
610 if (m_filteredChainComputeStats) {
611 m_filteredChainStatisticalOptionsObj =
new SequenceStatisticalOptions(
m_env,
m_prefix +
"filteredChain_");
612 m_filteredChainStatOptsInstantiated =
true;
637 sprintf(tmpStr,
"%d",(
int)(*setIt));
651 sprintf(tmpStr,
"%d",(
int)(*setIt));
672 sprintf(tmpStr,
"%d",(
int)(*setIt));
689 sprintf(tmpStr,
"%d",(
int)(*setIt));
722 sprintf(tmpStr,
"%d",(
int)(*setIt));
731 os <<
"m_prefix" <<
" = " <<
m_prefix
732 #ifdef ML_CODE_HAS_NEW_RESTART_CAPABILITY
781 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
782 <<
"\n" << m_option_rawChain_computeStats <<
" = " << m_rawChainComputeStats
795 #ifdef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
796 <<
"\n" << m_option_filteredChain_computeStats <<
" = " << m_filteredChainComputeStats
837 #ifndef DISABLE_BOOST_PROGRAM_OPTIONS
838 os << (*(obj.
m_parser)) << std::endl;
839 #endif // DISABLE_BOOST_PROGRAM_OPTIONS
double m_filteredChainDiscardedPortion
Initial discarded portion for chain filtering.
std::string m_option_am_adaptedMatrices_dataOutputAllowAll
std::string m_option_rawChain_size
void copyOptionsValues(const MLSamplingLevelOptions &srcOptions)
Copies the option values from srcOptions to this.
std::string m_option_totallyMute
double m_maxEffectiveSizeRatio
Maximum allowed effective size ratio wrt previous level.
double m_amEta
'am' eta.
bool m_drDuringAmNonAdaptiveInt
Whether or not 'dr' is used during 'am' non adaptive interval.
bool m_filteredChainGenerate
Whether or not to generate filtered chain.
#define UQ_ML_SAMPLING_L_INITIAL_POSITION_DATA_INPUT_FILE_NAME_ODV
double m_amEpsilon
'am' epsilon.
bool m_rawChainGenerateExtra
Generate extra information about raw chain.
std::string m_option_dr_duringAmNonAdaptiveInt
std::string m_option_rawChain_generateExtra
#define UQ_ML_SAMPLING_L_TK_USE_NEWTON_COMPONENT_ODV
std::string m_option_maxEffectiveSizeRatio
#define UQ_ML_SAMPLING_L_FILTERED_CHAIN_DATA_OUTPUT_ALLOW_ALL_ODV
std::string m_option_initialPosition_dataInputFileName
std::string m_option_dr_maxNumExtraStages
virtual ~MLSamplingLevelOptions()
Destructor.
#define UQ_ML_SAMPLING_L_RAW_CHAIN_MEASURE_RUN_TIMES_ODV
const GetPot & input() const
The GetPot input file parser.
std::ofstream * subDisplayFile() const
Access function for m_subDisplayFile (displays file on stream).
std::string m_option_rawChain_dataInputFileName
std::string m_option_loadBalanceTreshold
std::string m_option_initialProposalCovMatrix_dataInputFileType
#define queso_require_greater_equal_msg(expr1, expr2, msg)
double m_covRejectionRate
c.o.v. for judging attempted rejection rate at current level.
std::ostream & operator<<(std::ostream &os, const BaseEnvironment &obj)
#define UQ_ML_SAMPLING_L_RAW_CHAIN_SIZE_ODV
std::string m_option_minAcceptableEta
std::string m_option_algorithm
#define UQ_ML_SAMPLING_L_MAX_EFFECTIVE_SIZE_RATIO_ODV
double m_minEffectiveSizeRatio
Minimum allowed effective size ratio wrt previous level.
std::string m_option_checkpointOutputFileName
bool m_putOutOfBoundsInChain
Put 'out of bound' candidates in chain as well.
std::string m_initialProposalCovMatrixDataInputFileType
Type of input file for initial proposal covariance matrix.
std::string optionsInputFileName() const
Access to the attribute m_optionsInputFileName, which stores the name of the input file passed by the...
#define UQ_ML_SAMPLING_L_FILTERED_CHAIN_LAG_ODV
std::string m_dataOutputFileName
Name of generic output file.
std::string m_tk
Which transition kernel to use for sampling.
#define UQ_ML_SAMPLING_L_INITIAL_POSITION_USE_PREVIOUS_LEVEL_LIKELIHOOD_ODV
std::string m_option_loadBalanceAlgorithmId
std::string m_option_minRejectionRate
#define UQ_ML_SAMPLING_L_RAW_CHAIN_DISPLAY_PERIOD_ODV
double m_minRejectionRate
minimum allowed attempted rejection rate at current level
std::string m_option_covRejectionRate
std::string m_option_rawChain_dataOutputPeriod
std::string m_option_filteredChain_dataOutputAllowAll
#define ML_CODE_HAS_NEW_RESTART_CAPABILITY
std::string m_option_minEffectiveSizeRatio
bool m_initialPositionUsePreviousLevelLikelihood
Use previous level likelihood for initial chain position instead of re-computing it from target pdf...
std::string m_option_am_adaptedMatrices_dataOutputFileType
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
std::string m_option_am_keepInitialMatrix
#define UQ_ML_SAMPLING_L_MAX_REJECTION_RATE_ODV
#define UQ_ML_SAMPLING_L_LOAD_BALANCE_TRESHOLD_ODV
#define UQ_ML_SAMPLING_L_DO_LOGIT_TRANSFORM
std::string m_option_dataOutputAllowAll
std::set< unsigned int > m_rawChainDataOutputAllowedSet
subEnvs that will write to output file for raw chain.
#define UQ_ML_SAMPLING_L_LOAD_BALANCE_ALGORITHM_ID_ODV
void checkOptions(const BaseEnvironment *env)
#define UQ_ML_SAMPLING_L_AM_KEEP_INITIAL_MATRIX_ODV
#define UQ_ML_SAMPLING_L_COV_REJECTION_RATE_ODV
unsigned int m_rawChainSize
Size of raw chain.
std::string m_initialPositionDataInputFileType
Type of input file for initial position.
#define UQ_ML_SAMPLING_L_RAW_CHAIN_GENERATE_EXTRA_ODV
bool m_scaleCovMatrix
Whether or not scale proposal covariance matrix.
#define UQ_ML_SAMPLING_L_HELP
#define UQ_ML_SAMPLING_L_DR_MAX_NUM_EXTRA_STAGES_ODV
unsigned int m_filteredChainLag
Spacing for chain filtering.
std::string m_option_am_adaptedMatrices_dataOutputPeriod
#define UQ_ML_SAMPLING_L_TOTALLY_MUTE_ODV
std::string m_option_rawChain_dataOutputFileName
std::set< unsigned int > m_amAdaptedMatricesDataOutputAllowedSet
subEnvs that will write to output file for 'am' adapted matrices.
unsigned vector_variable_size(const char *VarName) const
void getOption(std::string &name, T &value)
Get option name from the parser and set value to the parsed value.
std::string m_option_dataOutputFileName
#define UQ_ML_SAMPLING_L_AM_ETA_ODV
bool m_dataOutputAllowAll
subEnvs that will write to generic output file.
bool m_doLogitTransform
Whether or not a logit transform will be done for bounded domains.
std::string m_amAdaptedMatricesDataOutputFileType
Type of output file for 'am' adapted matrices.
std::string m_option_dr_listOfScalesForExtraStages
std::string m_option_help
#define queso_require_less_msg(expr1, expr2, msg)
#define UQ_ML_SAMPLING_L_AM_ADAPTED_MATRICES_DATA_OUTPUT_ALLOW_ALL_ODV
std::string m_option_stopAtEnd
std::string m_option_rawChain_dataInputFileType
#define UQ_ML_SAMPLING_L_PUT_OUT_OF_BOUNDS_IN_CHAIN_ODV
std::string m_option_tk_useLocalHessian
double m_loadBalanceTreshold
Perform load balancing if load unbalancing ratio > threshold.
std::string m_option_scaleCovMatrix
bool m_tkUseNewtonComponent
Whether or not 'proposal' uses Newton component.
unsigned int subId() const
Access function to the number of each sub-environment Id: m_subId.
std::string m_option_am_adaptedMatrices_dataOutputFileName
bool m_rawChainMeasureRunTimes
Whether or not to measure run times.
std::string m_option_am_epsilon
#define queso_deprecated()
#define UQ_ML_SAMPLING_L_FILTERED_CHAIN_DISCARDED_PORTION_ODV
unsigned int m_drMaxNumExtraStages
'dr' maximum number of extra stages.
double m_minAcceptableEta
minimum acceptable eta,
std::set< unsigned int > m_parameterDisabledSet
std::string m_option_doLogitTransform
#define UQ_ML_SAMPLING_L_INITIAL_POSITION_DATA_INPUT_FILE_TYPE_ODV
bool m_totallyMute
Whether or not to be totally mute (no printout message).
bool m_tkUseLocalHessian
Whether or not 'proposal' uses local Hessian.
#define UQ_ML_SAMPLING_L_RAW_CHAIN_DATA_OUTPUT_PERIOD_ODV
void scanInputFile()
This is the method that parses the input file.
std::string m_option_rawChain_dataOutputAllowedSet
std::string m_option_initialProposalCovMatrix_dataInputFileName
#define UQ_ML_SAMPLING_L_FILTERED_CHAIN_DATA_OUTPUT_FILE_NAME_ODV
#define UQ_ML_SAMPLING_L_DISPLAY_CANDIDATES_ODV
std::string m_rawChainDataOutputFileName
Name of output file for raw chain.
std::string m_option_filteredChain_dataOutputAllowedSet
#define UQ_ML_SAMPLING_L_AM_INIT_NON_ADAPT_INT_ODV
std::string m_option_maxRejectionRate
double m_maxRejectionRate
maximum allowed attempted rejection rate at current level.
#define UQ_ML_SAMPLING_L_DATA_OUTPUT_FILE_NAME_ODV
std::string m_option_am_eta
#define UQ_ML_SAMPLING_L_AM_EPSILON_ODV
This class provides options for each level of the Multilevel sequence generator if no input file is a...
bool m_stopAtEnd
Stop at end of such level.
#define UQ_ML_SAMPLING_L_AM_ADAPTED_MATRICES_DATA_OUTPUT_PERIOD_ODV
#define UQ_ML_SAMPLING_L_DR_DURING_AM_NON_ADAPTIVE_INT_ODV
std::string m_option_am_initialNonAdaptInterval
std::string m_rawChainDataInputFileType
Type of input file for raw chain.
const BaseEnvironment & env() const
Access to the environment.
std::string m_option_am_adaptedMatrices_dataOutputAllowedSet
std::string m_option_filteredChain_generate
std::string m_checkpointOutputFileName
Name of checkpoint output file.
#define UQ_ML_SAMPLING_L_INITIAL_PROPOSAL_COV_MATRIX_DATA_INPUT_FILE_TYPE_ODV
#define UQ_ML_SAMPLING_L_RAW_CHAIN_DATA_OUTPUT_FILE_NAME_ODV
#define UQ_ML_SAMPLING_L_AM_ADAPT_INTERVAL_ODV
bool m_displayCandidates
Display candidates generated in the core MH algorithm.
std::set< unsigned int > m_dataOutputAllowedSet
subEnvs that will write to generic output file.
#define UQ_ML_SAMPLING_L_TK
std::string m_help
If non-empty string, print options and values to output file.
#define UQ_ML_SAMPLING_L_SCALE_COV_MATRIX_ODV
std::string m_option_rawChain_measureRunTimes
std::vector< double > m_drScalesForExtraStages
'dr' list of scales for proposal covariance matrices from 2nd stage on.
std::string m_option_putOutOfBoundsInChain
std::string m_option_rawChain_displayPeriod
#define UQ_ML_SAMPLING_L_MIN_ACCEPTABLE_ETA_ODV
std::string m_option_dataOutputAllowedSet
std::string m_option_tk_useNewtonComponent
std::string m_option_rawChain_dataOutputFileType
Option name for MLSamplingLevelOptions::m_rawChainDataOutputFileType. Option name is m_prefix + "ml_r...
#define UQ_ML_SAMPLING_L_TK_USE_LOCAL_HESSIAN_ODV
std::string m_filteredChainDataOutputFileType
Type of output file for filtered chain.
#define UQ_ML_SAMPLING_L_MIN_EFFECTIVE_SIZE_RATIO_ODV
std::string m_option_displayCandidates
std::string m_filteredChainDataOutputFileName
Name of output file for filtered chain.
void registerOption(std::string name, T defaultValue, std::string description)
Call this to register an option with the parser.
std::string m_str1
subEnvs that will write to generic output file.
#define UQ_ML_SAMPLING_L_ALGORITHM
std::string m_option_initialValuesOfDisabledParameters
void print(std::ostream &os) const
#define UQ_ML_SAMPLING_L_FILTERED_CHAIN_GENERATE_ODV
#define UQ_ML_SAMPLING_L_CHECKPOINT_OUTPUT_FILE_NAME_ODV
std::string m_rawChainDataOutputFileType
Type of output file for raw chain.
std::string m_initialProposalCovMatrixDataInputFileName
Name of input file for initial proposal covariance matrix.
std::string m_option_am_adaptInterval
std::string m_option_listOfDisabledParameters
unsigned int m_rawChainDataOutputPeriod
Period of message display during raw chain generation.
#define UQ_ML_SAMPLING_L_RAW_CHAIN_DATA_OUTPUT_ALLOW_ALL_ODV
void scanOptionsValues(const MLSamplingLevelOptions *defaultOptions)
BoostInputOptionsParser * m_parser
#define UQ_ML_SAMPLING_L_INITIAL_PROPOSAL_COV_MATRIX_DATA_INPUT_FILE_NAME_ODV
unsigned int m_rawChainDisplayPeriod
Period of message display during raw chain generation.
#define UQ_ML_SAMPLING_L_RAW_CHAIN_DATA_INPUT_FILE_TYPE_ODV
#define UQ_ML_SAMPLING_L_DATA_OUTPUT_ALLOW_ALL_ODV
std::string m_option_filteredChain_discardedPortion
std::set< unsigned int > m_filteredChainDataOutputAllowedSet
subEnvs that will write to output file for filtered chain.
std::string m_option_filteredChain_lag
unsigned int m_amAdaptInterval
'am' adaptation interval.
unsigned int m_amAdaptedMatricesDataOutputPeriod
Period for outputing 'am' adapted matrices.
const BaseEnvironment & m_env
std::string m_option_filteredChain_dataOutputFileType
unsigned int m_loadBalanceAlgorithmId
Perform load balancing with chosen algorithm (0 = no balancing).
#define UQ_ML_SAMPLING_L_AM_ADAPTED_MATRICES_DATA_OUTPUT_FILE_NAME_ODV
std::string m_amAdaptedMatricesDataOutputFileName
Name of output file for 'am' adapted matrices.
std::string m_rawChainDataInputFileName
Name of input file for raw chain.
bool m_amAdaptedMatricesDataOutputAllowAll
Whether or not subEnvs will write to output file for 'am' adapted matrices.
#define UQ_ML_SAMPLING_L_RAW_CHAIN_DATA_INPUT_FILE_NAME_ODV
#define UQ_ML_SAMPLING_L_AM_ADAPTED_MATRICES_DATA_OUTPUT_FILE_TYPE_ODV
bool m_rawChainDataOutputAllowAll
Whether or not subEnvs will write to output file for raw chain.
#define UQ_ML_SAMPLING_L_STOP_AT_END_ODV
std::string m_algorithm
Which algorithm to use for sampling.
std::string m_option_filteredChain_dataOutputFileName
std::string m_option_initialPositionUsePreviousLevelLikelihood
std::string m_option_rawChain_dataOutputAllowAll
std::string m_initialPositionDataInputFileName
Name of input file for initial position.
bool m_filteredChainDataOutputAllowAll
Whether or not subEnvs will write to output file for filtered chain.
std::vector< double > m_initialValuesOfDisabledParameters
MLSamplingLevelOptions(const BaseEnvironment &env, const char *prefix)
Constructor: reads options from the input file.
bool m_amKeepInitialMatrix
Whether or not 'am' will keep initial (given) matrix.
#define UQ_ML_SAMPLING_L_FILTERED_CHAIN_DATA_OUTPUT_FILE_TYPE_ODV
#define UQ_ML_SAMPLING_L_MIN_REJECTION_RATE_ODV
unsigned int m_amInitialNonAdaptInterval
'am' initial non adaptation interval
#define UQ_ML_SAMPLING_L_RAW_CHAIN_DATA_OUTPUT_FILE_TYPE_ODV
std::string m_option_initialPosition_dataInputFileType