queso-0.53.0
GcmSimulationInfo.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_GCM_SIMULATION_INFO_H
26 #define UQ_GCM_SIMULATION_INFO_H
27 
28 #include <queso/SimulationStorage.h>
29 #include <queso/SimulationModel.h>
30 #include <queso/VectorRV.h>
31 #include <queso/GammaVectorRV.h>
32 #include <queso/BetaVectorRV.h>
33 #include <queso/GpmsaComputerModelOptions.h>
34 
35 namespace QUESO {
36 
37 class GslVector;
38 class GslMatrix;
39 
40 template <class S_V = GslVector, class S_M = GslMatrix, class P_V = GslVector, class P_M = GslMatrix, class Q_V = GslVector, class Q_M = GslMatrix>
42 {
43 public:
44  GcmSimulationInfo(const GpmsaComputerModelOptions& gcmOptionsObj,
45  bool allOutputsAreScalar,
46  const SimulationStorage<S_V,S_M,P_V,P_M,Q_V,Q_M>& simulationStorage,
47  const SimulationModel <S_V,S_M,P_V,P_M,Q_V,Q_M>& simulationModel);
49 
53 
54  unsigned int m_paper_p_x;
55  const std::vector<const S_V* >& m_paper_xs_asterisks_standard;
56  const std::vector<const P_V* >& m_paper_ts_asterisks_standard;
57  unsigned int m_paper_p_t;
58  unsigned int m_paper_m;
59  unsigned int m_paper_n_eta;
60  unsigned int m_paper_p_eta;
62 
63  unsigned int m_1lambdaEtaDim; // '1' in paper
73 
74  unsigned int m_2lambdaWDim; // 'p_eta' in paper
84 
85  unsigned int m_3rhoWDim; // 'p_eta * (p_x + p_t)' in paper
95 
96  unsigned int m_4lambdaSDim; // 'p_eta' in matlab code
106 
107  unsigned int m_eta_size;
109 
110  unsigned int m_w_size;
112 
114 
118  std::vector<Q_M* > m_Rmat_w_is; // to be deleted on destructor
119  std::vector<Q_M* > m_Smat_w_is; // to be deleted on destructor
120  Q_M m_Smat_w; // Computed with 'm_simulationModel'
122  std::vector<Q_M* > m_Rmat_w_hat_w_asterisk_is; // to be deleted on destructor
123  std::vector<Q_M* > m_Smat_w_hat_w_asterisk_is; // to be deleted on destructor
124  Q_M m_Smat_w_hat_w_asterisk; // Computed with 'm_experimentlModel' and 'm_simulationModel'
127 
128  const Q_M& m_Kmat; // Equal to 'm_simulationModel.Kmat()'
129  const Q_M& m_Kmat_eta; // Equal to 'm_simulationModel.Kmat_eta()'
130  unsigned int m_Kmat_rank;
131  Q_M* m_Kt_K; // to be deleted on destructor
132  Q_M* m_Kt_K_inv; // to be deleted on destructor
133 
136 
137  unsigned int m_predW_counter;
138 #if 0
139  P_V m_predW_samplingRVs_unique_w_meanVec; // todo_rr
140  P_M m_predW_samplingRVs_unique_w_covMatrix;
141  P_M m_predW_samplingRVs_unique_w_corrMatrix;
142 #endif
147 #if 0
148  P_V m_predW_atMean_unique_w_meanVec; // todo_rr
149  P_M m_predW_atMean_unique_w_covMatrix;
150  P_M m_predW_atMean_unique_w_corrMatrix;
151 
152  P_V m_predW_atMedian_unique_w_meanVec; // todo_rr
153  P_M m_predW_atMedian_unique_w_covMatrix;
154  P_M m_predW_atMedian_unique_w_corrMatrix;
155 
156  P_V m_predW_atMode_unique_w_meanVec; // todo_rr
157  P_M m_predW_atMode_unique_w_covMatrix;
158  P_M m_predW_atMode_unique_w_corrMatrix;
159 
160  P_V m_predW_atMLE_unique_w_meanVec; // todo_rr
161  P_M m_predW_atMLE_unique_w_covMatrix;
162  P_M m_predW_atMLE_unique_w_corrMatrix;
163 #endif
164 };
165 
166 } // End namespace QUESO
167 
168 #endif // UQ_GCM_SIMULATION_INFO_H
VectorSpace< P_V, P_M > m_4lambdaSSpace
BoxSubset< P_V, P_M > m_2lambdaWDomain
std::vector< Q_M * > m_Rmat_w_is
std::vector< Q_M * > m_Smat_w_hat_w_asterisk_is
BetaVectorRV< P_V, P_M > m_3rhoWPriorRv
BoxSubset< P_V, P_M > m_3rhoWDomain
BoxSubset< P_V, P_M > m_4lambdaSDomain
VectorSpace< P_V, P_M > m_3rhoWSpace
GammaVectorRV< P_V, P_M > m_1lambdaEtaPriorRv
const std::vector< const S_V * > & m_paper_xs_asterisks_standard
GcmSimulationInfo(const GpmsaComputerModelOptions &gcmOptionsObj, bool allOutputsAreScalar, const SimulationStorage< S_V, S_M, P_V, P_M, Q_V, Q_M > &simulationStorage, const SimulationModel< S_V, S_M, P_V, P_M, Q_V, Q_M > &simulationModel)
GammaVectorRV< P_V, P_M > m_4lambdaSPriorRv
std::vector< Q_M * > m_Smat_w_is
const std::vector< const P_V * > & m_paper_ts_asterisks_standard
VectorSpace< P_V, P_M > m_paper_m_space
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
Definition: Environment.h:193
VectorSpace< Q_V, Q_M > m_w_space
VectorSpace< Q_V, Q_M > m_eta_space
VectorSpace< P_V, P_M > m_rho_w_space
std::vector< Q_M * > m_Rmat_w_hat_w_asterisk_is
VectorSpace< Q_V, Q_M > m_unique_w_space
VectorSpace< P_V, P_M > m_2lambdaWSpace
const SimulationModel< S_V, S_M, P_V, P_M, Q_V, Q_M > & m_simulationModel
const SimulationStorage< S_V, S_M, P_V, P_M, Q_V, Q_M > & m_simulationStorage
GammaVectorRV< P_V, P_M > m_2lambdaWPriorRv
const BaseEnvironment & m_env
BoxSubset< P_V, P_M > m_1lambdaEtaDomain
VectorSpace< P_V, P_M > m_1lambdaEtaSpace

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