queso-0.57.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
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-2017 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 
32 class GslVector;
33 class GslMatrix;
34 
44 template <class P_V = GslVector, class P_M = GslMatrix, class Q_V = GslVector, class Q_M = GslMatrix>
46 {
47 public:
49 
52  const char* prefix);
53 
55  virtual ~ModelValidation();
57 
59 
60  virtual void run() = 0;
62 
64  const BaseEnvironment& env () const;
65 
69 
70 protected:
72  std::string m_prefix;
73 
75 };
76 
77 } // End namespace QUESO
78 
79 #endif // UQ_MODEL_VALIDATION_H
A templated class for model validation of the example validationPyramid.
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
Definition: Environment.h:198
ModelValidation(const BaseEnvironment &env, const char *prefix)
Constructor.
virtual void run()=0
Runs calibration, validation and comparison stages. See template specialization.
const BaseEnvironment & env() const
Access to the environment variable (m_env).
ValidationCycle< P_V, P_M, Q_V, Q_M > * m_cycle
virtual ~ModelValidation()
Virtual destructor.
const ValidationCycle< P_V, P_M, Q_V, Q_M > & cycle() const
Access to the cycle (m_cycle).
const BaseEnvironment & m_env
A templated class for validation cycle of the examples validationCycle and validationCycle2.

Generated on Tue Jun 5 2018 19:48:55 for queso-0.57.1 by  doxygen 1.8.5