queso-0.55.0
|
This class provides options for a Statistical Inverse Problem if no input file is available. More...
#include <StatisticalInverseProblemOptions.h>
Public Member Functions | |
Constructor/Destructor methods | |
SipOptionsValues () | |
Default constructor. More... | |
SipOptionsValues (const BaseEnvironment *env, const char *prefix) | |
SipOptionsValues (const SipOptionsValues &src) | |
Copy constructor. More... | |
virtual | ~SipOptionsValues () |
Destructor. More... | |
Set methods | |
SipOptionsValues & | operator= (const SipOptionsValues &rhs) |
Assignment operator; it copies rhs to this . More... | |
Public Attributes | |
std::string | m_prefix |
std::string | m_help |
If this string is non-empty, options are print to the output file. More... | |
bool | m_computeSolution |
std::string | m_dataOutputFileName |
std::set< unsigned int > | m_dataOutputAllowedSet |
bool | m_seedWithMAPEstimator |
bool | m_useOptimizerMonitor |
Private Member Functions | |
void | copy (const SipOptionsValues &src) |
Copies the option values from src to this . More... | |
void | checkOptions () |
Private Attributes | |
BoostInputOptionsParser * | m_parser |
std::string | m_option_help |
std::string | m_option_computeSolution |
std::string | m_option_dataOutputFileName |
std::string | m_option_dataOutputAllowedSet |
std::string | m_option_seedWithMAPEstimator |
std::string | m_option_useOptimizerMonitor |
Friends | |
std::ostream & | operator<< (std::ostream &os, const SipOptionsValues &obj) |
This class provides options for a Statistical Inverse Problem if no input file is available.
In order to solve a Statistical Inverse Problem (SIP), QUESO expects some options for its methods to be fully defined. This class provides default values for such options if no input file is available.
Definition at line 69 of file StatisticalInverseProblemOptions.h.
QUESO::SipOptionsValues::SipOptionsValues | ( | ) |
Default constructor.
Assigns the default suite of options to the Statistical Inverse Problem.
Definition at line 38 of file StatisticalInverseProblemOptions.C.
QUESO::SipOptionsValues::SipOptionsValues | ( | const BaseEnvironment * | env, |
const char * | prefix | ||
) |
Definition at line 61 of file StatisticalInverseProblemOptions.C.
References checkOptions(), QUESO::BoostInputOptionsParser::getOption(), m_computeSolution, m_dataOutputAllowedSet, m_dataOutputFileName, m_help, m_option_computeSolution, m_option_dataOutputAllowedSet, m_option_dataOutputFileName, m_option_help, m_option_seedWithMAPEstimator, m_option_useOptimizerMonitor, m_parser, m_seedWithMAPEstimator, m_useOptimizerMonitor, QUESO::BoostInputOptionsParser::registerOption(), QUESO::BoostInputOptionsParser::scanInputFile(), UQ_SIP_COMPUTE_SOLUTION_ODV, UQ_SIP_DATA_OUTPUT_ALLOWED_SET_ODV, UQ_SIP_DATA_OUTPUT_FILE_NAME_ODV, UQ_SIP_HELP, UQ_SIP_SEEDWITHMAPESTIMATOR, and UQ_SIP_USEOPTIMIZERMONITOR.
QUESO::SipOptionsValues::SipOptionsValues | ( | const SipOptionsValues & | src | ) |
Copy constructor.
It assigns the same options values from src
to this
.
Definition at line 108 of file StatisticalInverseProblemOptions.C.
References copy().
|
virtual |
|
private |
Definition at line 126 of file StatisticalInverseProblemOptions.C.
Referenced by SipOptionsValues().
|
private |
Copies the option values from src
to this
.
Definition at line 132 of file StatisticalInverseProblemOptions.C.
References m_computeSolution, m_dataOutputAllowedSet, m_dataOutputFileName, m_seedWithMAPEstimator, and m_useOptimizerMonitor.
Referenced by operator=(), and SipOptionsValues().
SipOptionsValues & QUESO::SipOptionsValues::operator= | ( | const SipOptionsValues & | rhs | ) |
Assignment operator; it copies rhs
to this
.
Definition at line 119 of file StatisticalInverseProblemOptions.C.
References copy().
|
friend |
Definition at line 145 of file StatisticalInverseProblemOptions.C.
bool QUESO::SipOptionsValues::m_computeSolution |
Definition at line 98 of file StatisticalInverseProblemOptions.h.
Referenced by copy(), QUESO::StatisticalInverseProblemOptions::getMyOptionValues(), QUESO::operator<<(), QUESO::StatisticalInverseProblemOptions::print(), and SipOptionsValues().
std::set<unsigned int> QUESO::SipOptionsValues::m_dataOutputAllowedSet |
Definition at line 100 of file StatisticalInverseProblemOptions.h.
Referenced by copy(), QUESO::StatisticalInverseProblemOptions::getMyOptionValues(), QUESO::operator<<(), QUESO::StatisticalInverseProblemOptions::print(), and SipOptionsValues().
std::string QUESO::SipOptionsValues::m_dataOutputFileName |
Definition at line 99 of file StatisticalInverseProblemOptions.h.
Referenced by copy(), QUESO::StatisticalInverseProblemOptions::getMyOptionValues(), QUESO::operator<<(), QUESO::StatisticalInverseProblemOptions::print(), and SipOptionsValues().
std::string QUESO::SipOptionsValues::m_help |
If this string is non-empty, options are print to the output file.
Definition at line 96 of file StatisticalInverseProblemOptions.h.
Referenced by SipOptionsValues(), and QUESO::StatisticalInverseProblem< P_V, P_M >::StatisticalInverseProblem().
|
private |
Definition at line 113 of file StatisticalInverseProblemOptions.h.
Referenced by QUESO::operator<<(), and SipOptionsValues().
|
private |
Definition at line 115 of file StatisticalInverseProblemOptions.h.
Referenced by QUESO::operator<<(), and SipOptionsValues().
|
private |
Definition at line 114 of file StatisticalInverseProblemOptions.h.
Referenced by QUESO::operator<<(), and SipOptionsValues().
|
private |
Definition at line 112 of file StatisticalInverseProblemOptions.h.
Referenced by SipOptionsValues().
|
private |
Definition at line 119 of file StatisticalInverseProblemOptions.h.
Referenced by SipOptionsValues().
|
private |
Definition at line 120 of file StatisticalInverseProblemOptions.h.
Referenced by SipOptionsValues().
|
private |
Definition at line 109 of file StatisticalInverseProblemOptions.h.
Referenced by SipOptionsValues().
std::string QUESO::SipOptionsValues::m_prefix |
Definition at line 93 of file StatisticalInverseProblemOptions.h.
Referenced by QUESO::StatisticalInverseProblem< P_V, P_M >::StatisticalInverseProblem().
bool QUESO::SipOptionsValues::m_seedWithMAPEstimator |
Definition at line 105 of file StatisticalInverseProblemOptions.h.
Referenced by copy(), QUESO::StatisticalInverseProblemOptions::getMyOptionValues(), QUESO::StatisticalInverseProblemOptions::print(), and SipOptionsValues().
bool QUESO::SipOptionsValues::m_useOptimizerMonitor |
Definition at line 106 of file StatisticalInverseProblemOptions.h.
Referenced by copy(), QUESO::StatisticalInverseProblemOptions::getMyOptionValues(), QUESO::StatisticalInverseProblemOptions::print(), and SipOptionsValues().