queso-0.56.1
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 
26 #ifndef DISABLE_BOOST_PROGRAM_OPTIONS
27 #include <queso/BoostInputOptionsParser.h>
28 #endif // DISABLE_BOOST_PROGRAM_OPTIONS
29 
30 #ifndef UQ_GPMSA_OPTIONS_H
31 #define UQ_GPMSA_OPTIONS_H
32 
33 namespace QUESO {
34 
44 {
45 public:
47  GPMSAOptions(const BaseEnvironment& env, const char* prefix);
48 
50  virtual ~GPMSAOptions();
51 
53  void print(std::ostream& os) const;
54 
56  std::string m_prefix;
57 
59  std::string m_help;
60 
63 
66 
69 
72 
73 
76 
79 
82 
85 
88 
91 
93  const BaseEnvironment& env() const;
94 
97 
100 
101  friend std::ostream & operator<<(std::ostream& os, const GPMSAOptions & obj);
102 
103 private:
105 
106 #ifndef DISABLE_BOOST_PROGRAM_OPTIONS
108 #endif // DISABLE_BOOST_PROGRAM_OPTIONS
109 
110  std::string m_option_help;
123 
124  void checkOptions();
125 };
126 
127 } // End namespace QUESO
128 
129 #endif // UQ_GPMSA_OPTIONS_H
double m_emulatorCorrelationStrengthAlpha
The alpha paramter for the Beta hyperprior for the emulator correlation strength. ...
Definition: GPMSAOptions.h:75
std::string m_option_observationalPrecisionShape
Definition: GPMSAOptions.h:113
virtual ~GPMSAOptions()
Destructor.
Definition: GPMSAOptions.C:137
std::string m_option_help
Definition: GPMSAOptions.h:110
double m_emulatorPrecisionShape
The shape parameter for the Gamma hyperprior for the emulator precision.
Definition: GPMSAOptions.h:62
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
Definition: Environment.h:197
std::string m_option_emulatorPrecisionShape
Definition: GPMSAOptions.h:111
double m_observationalPrecisionShape
The shape parameter for the Gamma hyperprior for the observational precision.
Definition: GPMSAOptions.h:68
std::string m_option_emulatorCorrelationStrengthAlpha
Definition: GPMSAOptions.h:115
std::string m_help
If this string is non-empty, print the options object to the output file.
Definition: GPMSAOptions.h:59
std::string m_option_emulatorDataPrecisionScale
Definition: GPMSAOptions.h:122
double m_discrepancyCorrelationStrengthBeta
The beta paramter for the Beta hyperprior for the discrepancy correlation strength.
Definition: GPMSAOptions.h:90
std::string m_option_emulatorDataPrecisionShape
Definition: GPMSAOptions.h:121
std::string m_prefix
The prefix to look for in the input file.
Definition: GPMSAOptions.h:56
std::string m_option_observationalPrecisionScale
Definition: GPMSAOptions.h:114
std::string m_option_emulatorPrecisionScale
Definition: GPMSAOptions.h:112
double m_emulatorPrecisionScale
The scale parameter for the Gamma hyperprior for the emulator precision.
Definition: GPMSAOptions.h:65
double m_discrepancyCorrelationStrengthAlpha
The alpha paramter for the Beta hyperprior for the discrepancy correlation strength.
Definition: GPMSAOptions.h:87
std::string m_option_discrepancyPrecisionScale
Definition: GPMSAOptions.h:118
const BaseEnvironment & env() const
Returns the QUESO environment.
std::string m_option_emulatorCorrelationStrengthBeta
Definition: GPMSAOptions.h:116
This class defines the options that specify the behaviour of the Gaussian process emulator...
Definition: GPMSAOptions.h:43
const BaseEnvironment & m_env
Definition: GPMSAOptions.h:104
std::string m_option_discrepancyPrecisionShape
Definition: GPMSAOptions.h:117
GPMSAOptions(const BaseEnvironment &env, const char *prefix)
Given prefix, read the input file for parameters named prefix_*.
Definition: GPMSAOptions.C:48
double m_discrepancyPrecisionShape
The shape parameter for the Gamma hyperprior for the discrepancy precision.
Definition: GPMSAOptions.h:81
double m_emulatorDataPrecisionScale
The scale parameter for the Gamma hyperprior for the emulator data precision.
Definition: GPMSAOptions.h:99
double m_emulatorCorrelationStrengthBeta
The beta paramter for the Beta hyperprior for the emulator correlation strength.
Definition: GPMSAOptions.h:78
friend std::ostream & operator<<(std::ostream &os, const GPMSAOptions &obj)
Definition: GPMSAOptions.C:170
std::string m_option_discrepancyCorrelationStrengthAlpha
Definition: GPMSAOptions.h:119
BoostInputOptionsParser * m_parser
Definition: GPMSAOptions.h:107
double m_observationalPrecisionScale
The scale parameter for the Gamma hyperprior for the observational precision.
Definition: GPMSAOptions.h:71
void print(std::ostream &os) const
Prints this to os.
Definition: GPMSAOptions.C:152
std::string m_option_discrepancyCorrelationStrengthBeta
Definition: GPMSAOptions.h:120
double m_discrepancyPrecisionScale
The scale parameter for the Gamma hyperprior for the discrepancy precision.
Definition: GPMSAOptions.h:84
double m_emulatorDataPrecisionShape
The shape parameter for the Gamma hyperprior for the emulator data precision.
Definition: GPMSAOptions.h:96

Generated on Thu Dec 15 2016 13:23:10 for queso-0.56.1 by  doxygen 1.8.5