queso-0.53.0
GPMSAOptions.h
Go to the documentation of this file.
1 //--------------------------------------------------------------------------
2 //
3 // QUESO - a library to support the Quantification of Uncertainty
4 // for Estimation, Simulation and Optimization
5 //
6 // Copyright (C) 2008,2009,2010,2011,2012,2013 The PECOS Development Team
7 //
8 // This library is free software; you can redistribute it and/or
9 // modify it under the terms of the Version 2.1 GNU Lesser General
10 // Public License as published by the Free Software Foundation.
11 //
12 // This library is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 // Lesser General Public License for more details.
16 //
17 // You should have received a copy of the GNU Lesser General Public
18 // License along with this library; if not, write to the Free Software
19 // Foundation, Inc. 51 Franklin Street, Fifth Floor,
20 // Boston, MA 02110-1301 USA
21 //
22 //-----------------------------------------------------------------------el-
23 
24 #include <queso/Environment.h>
25 #include <queso/BoostInputOptionsParser.h>
26 
27 #ifndef UQ_GPMSA_OPTIONS_H
28 #define UQ_GPMSA_OPTIONS_H
29 
30 namespace QUESO {
31 
41 {
42 public:
44  GPMSAOptions(const BaseEnvironment& env, const char* prefix);
45 
47  virtual ~GPMSAOptions();
48 
50  void print(std::ostream& os) const;
51 
53  std::string m_prefix;
54 
56  std::string m_help;
57 
60 
63 
66 
69 
72 
75 
78 
81 
83  const BaseEnvironment& env() const;
84 
87 
90 
91  friend std::ostream & operator<<(std::ostream& os, const GPMSAOptions & obj);
92 
93 private:
95 
97 
98  std::string m_option_help;
109 
110  void checkOptions();
111 };
112 
113 } // End namespace QUESO
114 
115 #endif // UQ_GPMSA_OPTIONS_H
const BaseEnvironment & m_env
Definition: GPMSAOptions.h:94
double m_discrepancyPrecisionShape
The shape parameter for the Gamma hyperprior for the discrepancy precision.
Definition: GPMSAOptions.h:71
std::string m_prefix
The prefix to look for in the input file.
Definition: GPMSAOptions.h:53
std::string m_option_emulatorCorrelationStrengthBeta
Definition: GPMSAOptions.h:102
double m_discrepancyCorrelationStrengthBeta
The beta paramter for the Beta hyperprior for the discrepancy correlation strength.
Definition: GPMSAOptions.h:80
std::string m_option_emulatorDataPrecisionShape
Definition: GPMSAOptions.h:107
std::string m_option_discrepancyCorrelationStrengthAlpha
Definition: GPMSAOptions.h:105
const BaseEnvironment & env() const
Returns the QUESO environment.
void print(std::ostream &os) const
Prints this to os.
Definition: GPMSAOptions.C:122
double m_emulatorPrecisionScale
The scale parameter for the Gamma hyperprior for the emulator precision.
Definition: GPMSAOptions.h:62
std::string m_option_emulatorDataPrecisionScale
Definition: GPMSAOptions.h:108
double m_emulatorDataPrecisionScale
The scale parameter for the Gamma hyperprior for the emulator data precision.
Definition: GPMSAOptions.h:89
double m_discrepancyCorrelationStrengthAlpha
The alpha paramter for the Beta hyperprior for the discrepancy correlation strength.
Definition: GPMSAOptions.h:77
double m_emulatorCorrelationStrengthAlpha
The alpha paramter for the Beta hyperprior for the emulator correlation strength. ...
Definition: GPMSAOptions.h:65
virtual ~GPMSAOptions()
Destructor.
Definition: GPMSAOptions.C:107
std::string m_option_discrepancyCorrelationStrengthBeta
Definition: GPMSAOptions.h:106
std::string m_option_discrepancyPrecisionScale
Definition: GPMSAOptions.h:104
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
Definition: Environment.h:193
std::string m_option_emulatorPrecisionShape
Definition: GPMSAOptions.h:99
std::string m_option_emulatorCorrelationStrengthAlpha
Definition: GPMSAOptions.h:101
This class defines the options that specify the behaviour of the Gaussian process emulator...
Definition: GPMSAOptions.h:40
friend std::ostream & operator<<(std::ostream &os, const GPMSAOptions &obj)
Definition: GPMSAOptions.C:138
double m_emulatorPrecisionShape
The shape parameter for the Gamma hyperprior for the emulator precision.
Definition: GPMSAOptions.h:59
double m_emulatorDataPrecisionShape
The shape parameter for the Gamma hyperprior for the emulator data precision.
Definition: GPMSAOptions.h:86
GPMSAOptions(const BaseEnvironment &env, const char *prefix)
Given prefix, read the input file for parameters named prefix_*.
Definition: GPMSAOptions.C:44
BoostInputOptionsParser * m_parser
Definition: GPMSAOptions.h:96
double m_discrepancyPrecisionScale
The scale parameter for the Gamma hyperprior for the discrepancy precision.
Definition: GPMSAOptions.h:74
std::string m_help
If this string is non-empty, print the options object to the output file.
Definition: GPMSAOptions.h:56
double m_emulatorCorrelationStrengthBeta
The beta paramter for the Beta hyperprior for the emulator correlation strength.
Definition: GPMSAOptions.h:68
std::string m_option_help
Definition: GPMSAOptions.h:98
std::string m_option_discrepancyPrecisionShape
Definition: GPMSAOptions.h:103
std::string m_option_emulatorPrecisionScale
Definition: GPMSAOptions.h:100

Generated on Thu Jun 11 2015 13:52:32 for queso-0.53.0 by  doxygen 1.8.5