queso-0.52.0
ModelValidation.h
Go to the documentation of this file.
1 //-----------------------------------------------------------------------bl-
2 //--------------------------------------------------------------------------
3 //
4 // QUESO - a library to support the Quantification of Uncertainty
5 // for Estimation, Simulation and Optimization
6 //
7 // Copyright (C) 2008-2015 The PECOS Development Team
8 //
9 // This library is free software; you can redistribute it and/or
10 // modify it under the terms of the Version 2.1 GNU Lesser General
11 // Public License as published by the Free Software Foundation.
12 //
13 // This library is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 // Lesser General Public License for more details.
17 //
18 // You should have received a copy of the GNU Lesser General Public
19 // License along with this library; if not, write to the Free Software
20 // Foundation, Inc. 51 Franklin Street, Fifth Floor,
21 // Boston, MA 02110-1301 USA
22 //
23 //-----------------------------------------------------------------------el-
24 
25 #ifndef UQ_MODEL_VALIDATION_H
26 #define UQ_MODEL_VALIDATION_H
27 
28 #include <queso/ValidationCycle.h>
29 
30 namespace QUESO {
31 
41 template <class P_V,class P_M,class Q_V,class Q_M>
43 {
44 public:
46 
49  const char* prefix);
50 
52  virtual ~ModelValidation();
54 
56 
57  virtual void run() = 0;
59 
61  const BaseEnvironment& env () const;
62 
66 
67 protected:
69  std::string m_prefix;
70 
72 };
73 
74 } // End namespace QUESO
75 
76 #endif // UQ_MODEL_VALIDATION_H
ValidationCycle< P_V, P_M, Q_V, Q_M > * m_cycle
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
Definition: Environment.h:187
const BaseEnvironment & env() const
Access to the environment variable (m_env).
A templated class for model validation of the example validationPyramid.
ModelValidation(const BaseEnvironment &env, const char *prefix)
Constructor.
virtual void run()=0
Runs calibration, validation and comparison stages. See template specialization.
const ValidationCycle< P_V, P_M, Q_V, Q_M > & cycle() const
Access to the cycle (m_cycle).
A templated class for validation cycle of the examples validationCycle and validationCycle2.
const BaseEnvironment & m_env
virtual ~ModelValidation()
Virtual destructor.

Generated on Thu Apr 23 2015 19:30:54 for queso-0.52.0 by  doxygen 1.8.5