queso-0.57.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 |
std::string | m_solverString |
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 | |
ScopedPtr < BoostInputOptionsParser > ::Type | 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_solver |
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 75 of file StatisticalInverseProblemOptions.h.
QUESO::SipOptionsValues::SipOptionsValues | ( | ) |
Default constructor.
Assigns the default suite of options to the Statistical Inverse Problem.
Definition at line 43 of file StatisticalInverseProblemOptions.C.
QUESO::SipOptionsValues::SipOptionsValues | ( | const BaseEnvironment * | env, |
const char * | prefix | ||
) |
Definition at line 68 of file StatisticalInverseProblemOptions.C.
References checkOptions(), 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_solver, m_option_useOptimizerMonitor, m_parser, m_seedWithMAPEstimator, QUESO::m_solver, m_useOptimizerMonitor, and QUESO::size.
QUESO::SipOptionsValues::SipOptionsValues | ( | const SipOptionsValues & | src | ) |
Copy constructor.
It assigns the same options values from src
to this
.
Definition at line 138 of file StatisticalInverseProblemOptions.C.
References copy().
|
virtual |
|
private |
Definition at line 156 of file StatisticalInverseProblemOptions.C.
Referenced by SipOptionsValues().
|
private |
Copies the option values from src
to this
.
Definition at line 162 of file StatisticalInverseProblemOptions.C.
References m_computeSolution, m_dataOutputAllowedSet, m_dataOutputFileName, m_seedWithMAPEstimator, m_solverString, 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 149 of file StatisticalInverseProblemOptions.C.
References copy().
|
friend |
Definition at line 175 of file StatisticalInverseProblemOptions.C.
bool QUESO::SipOptionsValues::m_computeSolution |
Definition at line 104 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 106 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 105 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 102 of file StatisticalInverseProblemOptions.h.
Referenced by SipOptionsValues().
|
private |
Definition at line 121 of file StatisticalInverseProblemOptions.h.
Referenced by QUESO::operator<<(), and SipOptionsValues().
|
private |
Definition at line 123 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 120 of file StatisticalInverseProblemOptions.h.
Referenced by SipOptionsValues().
|
private |
Definition at line 127 of file StatisticalInverseProblemOptions.h.
Referenced by SipOptionsValues().
|
private |
Definition at line 125 of file StatisticalInverseProblemOptions.h.
Referenced by QUESO::operator<<(), and SipOptionsValues().
|
private |
Definition at line 128 of file StatisticalInverseProblemOptions.h.
Referenced by SipOptionsValues().
|
private |
Definition at line 116 of file StatisticalInverseProblemOptions.h.
Referenced by SipOptionsValues().
std::string QUESO::SipOptionsValues::m_prefix |
Definition at line 99 of file StatisticalInverseProblemOptions.h.
bool QUESO::SipOptionsValues::m_seedWithMAPEstimator |
Definition at line 111 of file StatisticalInverseProblemOptions.h.
Referenced by copy(), QUESO::StatisticalInverseProblemOptions::getMyOptionValues(), QUESO::StatisticalInverseProblemOptions::print(), and SipOptionsValues().
std::string QUESO::SipOptionsValues::m_solverString |
Definition at line 108 of file StatisticalInverseProblemOptions.h.
Referenced by copy(), QUESO::StatisticalInverseProblemOptions::getMyOptionValues(), QUESO::operator<<(), and QUESO::StatisticalInverseProblemOptions::print().
bool QUESO::SipOptionsValues::m_useOptimizerMonitor |
Definition at line 112 of file StatisticalInverseProblemOptions.h.
Referenced by copy(), QUESO::StatisticalInverseProblemOptions::getMyOptionValues(), QUESO::StatisticalInverseProblemOptions::print(), and SipOptionsValues().