queso-0.56.1
|
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 74 of file StatisticalInverseProblemOptions.h.
QUESO::SipOptionsValues::SipOptionsValues | ( | ) |
Default constructor.
Assigns the default suite of options to the Statistical Inverse Problem.
Definition at line 40 of file StatisticalInverseProblemOptions.C.
QUESO::SipOptionsValues::SipOptionsValues | ( | const BaseEnvironment * | env, |
const char * | prefix | ||
) |
Definition at line 65 of file StatisticalInverseProblemOptions.C.
References checkOptions(), QUESO::BoostInputOptionsParser::getOption(), QUESO::BaseEnvironment::input(), 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, UQ_SIP_USEOPTIMIZERMONITOR, and GetPot::vector_variable_size().
QUESO::SipOptionsValues::SipOptionsValues | ( | const SipOptionsValues & | src | ) |
Copy constructor.
It assigns the same options values from src
to this
.
Definition at line 135 of file StatisticalInverseProblemOptions.C.
References copy().
|
virtual |
|
private |
Definition at line 153 of file StatisticalInverseProblemOptions.C.
Referenced by SipOptionsValues().
|
private |
Copies the option values from src
to this
.
Definition at line 159 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 146 of file StatisticalInverseProblemOptions.C.
References copy().
|
friend |
Definition at line 172 of file StatisticalInverseProblemOptions.C.
bool QUESO::SipOptionsValues::m_computeSolution |
Definition at line 103 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 105 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 104 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 101 of file StatisticalInverseProblemOptions.h.
Referenced by SipOptionsValues(), and QUESO::StatisticalInverseProblem< P_V, P_M >::StatisticalInverseProblem().
|
private |
Definition at line 120 of file StatisticalInverseProblemOptions.h.
Referenced by QUESO::operator<<(), and SipOptionsValues().
|
private |
Definition at line 122 of file StatisticalInverseProblemOptions.h.
Referenced by QUESO::operator<<(), and SipOptionsValues().
|
private |
Definition at line 121 of file StatisticalInverseProblemOptions.h.
Referenced by QUESO::operator<<(), and SipOptionsValues().
|
private |
Definition at line 119 of file StatisticalInverseProblemOptions.h.
Referenced by SipOptionsValues().
|
private |
Definition at line 126 of file StatisticalInverseProblemOptions.h.
Referenced by SipOptionsValues().
|
private |
Definition at line 127 of file StatisticalInverseProblemOptions.h.
Referenced by SipOptionsValues().
|
private |
Definition at line 115 of file StatisticalInverseProblemOptions.h.
Referenced by SipOptionsValues().
std::string QUESO::SipOptionsValues::m_prefix |
Definition at line 98 of file StatisticalInverseProblemOptions.h.
Referenced by QUESO::StatisticalInverseProblem< P_V, P_M >::StatisticalInverseProblem().
bool QUESO::SipOptionsValues::m_seedWithMAPEstimator |
Definition at line 110 of file StatisticalInverseProblemOptions.h.
Referenced by copy(), QUESO::StatisticalInverseProblemOptions::getMyOptionValues(), QUESO::StatisticalInverseProblemOptions::print(), and SipOptionsValues().
bool QUESO::SipOptionsValues::m_useOptimizerMonitor |
Definition at line 111 of file StatisticalInverseProblemOptions.h.
Referenced by copy(), QUESO::StatisticalInverseProblemOptions::getMyOptionValues(), QUESO::StatisticalInverseProblemOptions::print(), and SipOptionsValues().