queso-0.53.0
Public Member Functions | Public Attributes | Private Attributes | Friends | List of all members
QUESO::GPMSAFactory< V, M > Class Template Reference

#include <GPMSA.h>

Collaboration diagram for QUESO::GPMSAFactory< V, M >:
Collaboration graph
[legend]

Public Member Functions

 GPMSAFactory (const BaseEnvironment &env, GPMSAOptions *opts, const BaseVectorRV< V, M > &parameterPrior, const VectorSpace< V, M > &scenarioSpace, const VectorSpace< V, M > &parameterSpace, const VectorSpace< V, M > &simulationOutputSpace, const VectorSpace< V, M > &experimentOutputSpace, unsigned int numSimulations, unsigned int numExperiments)
 Constructor. More...
 
 ~GPMSAFactory ()
 Destructor. More...
 
void addSimulation (V &simulationScenario, V &simulationParameter, V &simulationOutput)
 Add a simulation to this. More...
 
void addSimulations (const std::vector< V * > &simulationScenarios, const std::vector< V * > &simulationParameters, const std::vector< V * > &simulationOutputs)
 Adds multiple simulations to this. More...
 
void addExperiments (const std::vector< V * > &experimentScenarios, const std::vector< V * > &experimentOutputs, const M *experimentErrors)
 Add all experiments to this. More...
 
const ConcatenatedVectorRV< V,
M > & 
prior () const
 
void print (std::ostream &os) const
 
void setUpHyperpriors ()
 
Getters
unsigned int numSimulations () const
 Return number of simulations. More...
 
unsigned int numExperiments () const
 Return number of experiments. More...
 
const VectorSpace< V, M > & scenarioSpace () const
 Return the vector space in which scenarios live. More...
 
const VectorSpace< V, M > & parameterSpace () const
 Return the vector space in which parameters live. More...
 
const VectorSpace< V, M > & simulationOutputSpace () const
 Return the vector space in which simulations live. More...
 
const VectorSpace< V, M > & experimentOutputSpace () const
 Return the vector space in which experiments live. More...
 
const V & simulationScenario (unsigned int simulationId) const
 Return the point in scenarioSpace for simulation simulationId. More...
 
const std::vector< V * > & simulationScenarios () const
 Return all points in scenarioSpace for all simulations. More...
 
const V & simulationParameter (unsigned int simulationId) const
 Return the point in parameterSpace for simulation simulationId. More...
 
const std::vector< V * > & simulationParameters () const
 Return all points in parameterSpace for all simulations. More...
 
const V & simulationOutput (unsigned int simulationId) const
 Return the simulation output for simulation simulationId. More...
 
const std::vector< V * > & simulationOutputs () const
 Return all points in simulationOutputSpace for all simulations. More...
 
const V & experimentScenario (unsigned int experimentId) const
 Return the point in scenarioSpace for experiment experimentId. More...
 
const std::vector< V * > & experimentScenarios () const
 Return all points in scenarioSpace for all experiments. More...
 
const V & experimentOutput (unsigned int experimentId) const
 Return the experiment output for experiment experimentId. More...
 
const std::vector< V * > & experimentOutputs () const
 Return all points in experimentOutputSpace for all experiments. More...
 
const M & experimentErrors () const
 Return all observation error covarince matrices for all experiments. More...
 
const BaseEnvironmentenv () const
 Return the QUESO environment. More...
 
const GPMSAEmulator< V, M > & getGPMSAEmulator () const
 Return the GPMSAEmulator likelihood object. More...
 

Public Attributes

const BaseEnvironmentm_env
 
const BaseVectorRV< V, M > & m_parameterPrior
 
const VectorSpace< V, M > & m_scenarioSpace
 
const VectorSpace< V, M > & m_parameterSpace
 
const VectorSpace< V, M > & m_simulationOutputSpace
 
const VectorSpace< V, M > & m_experimentOutputSpace
 
unsigned int m_numSimulations
 
unsigned int m_numExperiments
 
std::vector< V * > m_simulationScenarios
 
std::vector< V * > m_simulationParameters
 
std::vector< V * > m_simulationOutputs
 
std::vector< V * > m_experimentScenarios
 
std::vector< V * > m_experimentOutputs
 
const M * m_experimentErrors
 
unsigned int m_numSimulationAdds
 
unsigned int m_numExperimentAdds
 
VectorSpace< V, M > * oneDSpace
 
V * emulatorMeanMin
 
V * emulatorMeanMax
 
BoxSubset< V, M > * emulatorMeanDomain
 
V * emulatorPrecisionMin
 
V * emulatorPrecisionMax
 
BoxSubset< V, M > * emulatorPrecisionDomain
 
VectorSpace< V, M > * emulatorCorrelationSpace
 
V * emulatorCorrelationMin
 
V * emulatorCorrelationMax
 
BoxSubset< V, M > * emulatorCorrelationDomain
 
V * discrepancyPrecisionMin
 
V * discrepancyPrecisionMax
 
BoxSubset< V, M > * discrepancyPrecisionDomain
 
VectorSpace< V, M > * discrepancyCorrelationSpace
 
V * discrepancyCorrelationMin
 
V * discrepancyCorrelationMax
 
BoxSubset< V, M > * discrepancyCorrelationDomain
 
V * emulatorDataPrecisionMin
 
V * emulatorDataPrecisionMax
 
BoxSubset< V, M > * emulatorDataPrecisionDomain
 
VectorSpace< V, M > * totalSpace
 
V * totalMins
 
V * totalMaxs
 
BoxSubset< V, M > * totalDomain
 
std::vector< const
BaseVectorRV< V, M > * > 
priors
 
UniformVectorRV< V, M > * m_emulatorMean
 
GammaVectorRV< V, M > * m_emulatorPrecision
 
BetaVectorRV< V, M > * m_emulatorCorrelationStrength
 
GammaVectorRV< V, M > * m_discrepancyPrecision
 
BetaVectorRV< V, M > * m_discrepancyCorrelationStrength
 
GammaVectorRV< V, M > * m_emulatorDataPrecision
 
ConcatenatedVectorRV< V, M > * m_totalPrior
 
V * m_emulatorPrecisionShapeVec
 
V * m_emulatorPrecisionScaleVec
 
V * m_emulatorCorrelationStrengthAlphaVec
 
V * m_emulatorCorrelationStrengthBetaVec
 
V * m_discrepancyPrecisionShapeVec
 
V * m_discrepancyPrecisionScaleVec
 
V * m_discrepancyCorrelationStrengthAlphaVec
 
V * m_discrepancyCorrelationStrengthBetaVec
 
V * m_emulatorDataPrecisionShapeVec
 
V * m_emulatorDataPrecisionScaleVec
 
GPMSAEmulator< V, M > * gpmsaEmulator
 
bool m_constructedGP
 

Private Attributes

GPMSAOptionsm_opts
 

Friends

std::ostream & operator<< (std::ostream &os, const GPMSAFactory< V, M > &obj)
 

Detailed Description

template<class V = GslVector, class M = GslMatrix>
class QUESO::GPMSAFactory< V, M >

Definition at line 99 of file GPMSA.h.

Constructor & Destructor Documentation

template<class V , class M >
QUESO::GPMSAFactory< V, M >::GPMSAFactory ( const BaseEnvironment env,
GPMSAOptions opts,
const BaseVectorRV< V, M > &  parameterPrior,
const VectorSpace< V, M > &  scenarioSpace,
const VectorSpace< V, M > &  parameterSpace,
const VectorSpace< V, M > &  simulationOutputSpace,
const VectorSpace< V, M > &  experimentOutputSpace,
unsigned int  numSimulations,
unsigned int  numExperiments 
)

Constructor.

Definition at line 243 of file GPMSA.C.

References QUESO::GPMSAFactory< V, M >::m_constructedGP, QUESO::GPMSAFactory< V, M >::m_env, QUESO::GPMSAFactory< V, M >::m_opts, QUESO::BaseEnvironment::optionsInputFileName(), queso_error_msg, and QUESO::GPMSAFactory< V, M >::setUpHyperpriors().

253  :
254  m_env(env),
255  m_parameterPrior(parameterPrior),
269  priors(7, (const BaseVectorRV<V, M> *)NULL) // Needed for gcc 4.3.2
270 {
271  // DM: Not sure if the logic in these 3 if-blocks is correct
272  if ((opts == NULL) && (this->m_env.optionsInputFileName() == "")) {
273  queso_error_msg("Must options object or an input file");
274  }
275 
276  if (opts != NULL) {
277  this->m_opts = opts;
278  }
279  else {
280  // Create a default one
281  this->m_opts = new GPMSAOptions(this->m_env, "");
282  }
283 
284  this->setUpHyperpriors();
285  this->m_constructedGP = false;
286 }
bool m_constructedGP
Definition: GPMSA.h:360
const BaseEnvironment & env() const
Return the QUESO environment.
Definition: GPMSA.C:440
unsigned int m_numExperiments
Definition: GPMSA.h:270
std::vector< V * > m_experimentOutputs
Definition: GPMSA.h:276
#define queso_error_msg(msg)
Definition: asserts.h:47
GPMSAOptions * m_opts
Definition: GPMSA.h:363
std::vector< V * > m_simulationParameters
Definition: GPMSA.h:273
std::vector< V * > m_simulationOutputs
Definition: GPMSA.h:274
unsigned int numExperiments() const
Return number of experiments.
Definition: GPMSA.C:303
unsigned int m_numSimulations
Definition: GPMSA.h:269
unsigned int m_numSimulationAdds
Definition: GPMSA.h:282
std::string optionsInputFileName() const
Access to the attribute m_optionsInputFileName, which stores the name of the input file passed by the...
Definition: Environment.C:307
const BaseVectorRV< V, M > & m_parameterPrior
Definition: GPMSA.h:262
const VectorSpace< V, M > & parameterSpace() const
Return the vector space in which parameters live.
Definition: GPMSA.C:317
const VectorSpace< V, M > & simulationOutputSpace() const
Return the vector space in which simulations live.
Definition: GPMSA.C:324
const VectorSpace< V, M > & m_experimentOutputSpace
Definition: GPMSA.h:267
const VectorSpace< V, M > & m_parameterSpace
Definition: GPMSA.h:265
const BaseEnvironment & m_env
Definition: GPMSA.h:260
unsigned int numSimulations() const
Return number of simulations.
Definition: GPMSA.C:296
void setUpHyperpriors()
Definition: GPMSA.C:555
std::vector< const BaseVectorRV< V, M > * > priors
Definition: GPMSA.h:336
std::vector< V * > m_experimentScenarios
Definition: GPMSA.h:275
const VectorSpace< V, M > & scenarioSpace() const
Return the vector space in which scenarios live.
Definition: GPMSA.C:310
const VectorSpace< V, M > & m_scenarioSpace
Definition: GPMSA.h:264
const VectorSpace< V, M > & m_simulationOutputSpace
Definition: GPMSA.h:266
unsigned int m_numExperimentAdds
Definition: GPMSA.h:283
std::vector< V * > m_simulationScenarios
Definition: GPMSA.h:272
const VectorSpace< V, M > & experimentOutputSpace() const
Return the vector space in which experiments live.
Definition: GPMSA.C:331
template<class V , class M >
QUESO::GPMSAFactory< V, M >::~GPMSAFactory ( )

Destructor.

Definition at line 289 of file GPMSA.C.

290 {
291  // Do nothing
292 }

Member Function Documentation

template<class V , class M >
void QUESO::GPMSAFactory< V, M >::addExperiments ( const std::vector< V * > &  experimentScenarios,
const std::vector< V * > &  experimentOutputs,
const M *  experimentErrors 
)

Add all experiments to this.

This method takes a vector of all the experimental data and associated observation errors/correlations and stores them. This cannot be done piecemeal like the simulation data.

Each experiment ([i]) is assumed to correspond to the point expermientScenarios[i] in scenario space. The observation error covariance matrix is assumed to be stored in experimentErrors.

Definition at line 502 of file GPMSA.C.

References queso_require_less_equal_msg.

506 {
507  queso_require_less_equal_msg(experimentScenarios.size(), this->m_numExperiments, "too many experiments...");
508 
509  for (unsigned int i = 0; i < this->m_experimentScenarios.size(); i++) {
512  }
515 
516  if ((this->m_numSimulationAdds == this->m_numSimulations) &&
517  (this->m_numExperimentAdds == this->m_numExperiments) &&
518  (this->m_constructedGP == false)) {
519  this->m_constructedGP = true;
520  this->gpmsaEmulator = new GPMSAEmulator<V, M>(
521  this->prior().imageSet(),
522  this->m_scenarioSpace,
523  this->m_parameterSpace,
526  this->m_numSimulations,
527  this->m_numExperiments,
528  this->m_simulationScenarios,
530  this->m_simulationOutputs,
531  this->m_experimentScenarios,
532  this->m_experimentOutputs,
533  *(this->m_experimentErrors),
534  *(this->m_totalPrior));
535  }
536 }
bool m_constructedGP
Definition: GPMSA.h:360
unsigned int m_numExperiments
Definition: GPMSA.h:270
std::vector< V * > m_experimentOutputs
Definition: GPMSA.h:276
const ConcatenatedVectorRV< V, M > & prior() const
Definition: GPMSA.C:540
#define queso_require_less_equal_msg(expr1, expr2, msg)
Definition: asserts.h:89
std::vector< V * > m_simulationParameters
Definition: GPMSA.h:273
std::vector< V * > m_simulationOutputs
Definition: GPMSA.h:274
const std::vector< V * > & experimentScenarios() const
Return all points in scenarioSpace for all experiments.
Definition: GPMSA.C:407
const std::vector< V * > & experimentOutputs() const
Return all points in experimentOutputSpace for all experiments.
Definition: GPMSA.C:426
unsigned int m_numSimulations
Definition: GPMSA.h:269
unsigned int m_numSimulationAdds
Definition: GPMSA.h:282
const VectorSpace< V, M > & m_experimentOutputSpace
Definition: GPMSA.h:267
const VectorSpace< V, M > & m_parameterSpace
Definition: GPMSA.h:265
const M & experimentErrors() const
Return all observation error covarince matrices for all experiments.
Definition: GPMSA.C:433
std::vector< V * > m_experimentScenarios
Definition: GPMSA.h:275
const M * m_experimentErrors
Definition: GPMSA.h:279
const VectorSpace< V, M > & m_scenarioSpace
Definition: GPMSA.h:264
const VectorSpace< V, M > & m_simulationOutputSpace
Definition: GPMSA.h:266
unsigned int m_numExperimentAdds
Definition: GPMSA.h:283
std::vector< V * > m_simulationScenarios
Definition: GPMSA.h:272
ConcatenatedVectorRV< V, M > * m_totalPrior
Definition: GPMSA.h:345
GPMSAEmulator< V, M > * gpmsaEmulator
Definition: GPMSA.h:359
template<class V , class M >
void QUESO::GPMSAFactory< V, M >::addSimulation ( V &  simulationScenario,
V &  simulationParameter,
V &  simulationOutput 
)

Add a simulation to this.

The simulation added to this is assumed to correspond to the point simulationScenario in scenario space and simulationParameter in parameter space. The simulation output is assumed to be stored in simulationOutput.

Definition at line 454 of file GPMSA.C.

References queso_require_less_msg.

457 {
458  queso_require_less_msg(this->m_numSimulationAdds, this->m_numSimulations, "too many simulation adds...");
459 
463  this->m_numSimulationAdds++;
464 
465  if ((this->m_numSimulationAdds == this->m_numSimulations) &&
466  (this->m_numExperimentAdds == this->m_numExperiments) &&
467  (this->m_constructedGP == false)) {
468  this->m_constructedGP = true;
469  this->gpmsaEmulator = new GPMSAEmulator<V, M>(
470  this->prior().imageSet(),
471  this->m_scenarioSpace,
472  this->m_parameterSpace,
475  this->m_numSimulations,
476  this->m_numExperiments,
477  this->m_simulationScenarios,
479  this->m_simulationOutputs,
480  this->m_experimentScenarios,
481  this->m_experimentOutputs,
482  *(this->m_experimentErrors),
483  *(this->m_totalPrior));
484  }
485 }
const V & simulationParameter(unsigned int simulationId) const
Return the point in parameterSpace for simulation simulationId.
Definition: GPMSA.C:357
bool m_constructedGP
Definition: GPMSA.h:360
unsigned int m_numExperiments
Definition: GPMSA.h:270
std::vector< V * > m_experimentOutputs
Definition: GPMSA.h:276
const ConcatenatedVectorRV< V, M > & prior() const
Definition: GPMSA.C:540
std::vector< V * > m_simulationParameters
Definition: GPMSA.h:273
std::vector< V * > m_simulationOutputs
Definition: GPMSA.h:274
const V & simulationScenario(unsigned int simulationId) const
Return the point in scenarioSpace for simulation simulationId.
Definition: GPMSA.C:338
unsigned int m_numSimulations
Definition: GPMSA.h:269
unsigned int m_numSimulationAdds
Definition: GPMSA.h:282
#define queso_require_less_msg(expr1, expr2, msg)
Definition: asserts.h:87
const VectorSpace< V, M > & m_experimentOutputSpace
Definition: GPMSA.h:267
const VectorSpace< V, M > & m_parameterSpace
Definition: GPMSA.h:265
std::vector< V * > m_experimentScenarios
Definition: GPMSA.h:275
const M * m_experimentErrors
Definition: GPMSA.h:279
const VectorSpace< V, M > & m_scenarioSpace
Definition: GPMSA.h:264
const V & simulationOutput(unsigned int simulationId) const
Return the simulation output for simulation simulationId.
Definition: GPMSA.C:376
const VectorSpace< V, M > & m_simulationOutputSpace
Definition: GPMSA.h:266
unsigned int m_numExperimentAdds
Definition: GPMSA.h:283
std::vector< V * > m_simulationScenarios
Definition: GPMSA.h:272
ConcatenatedVectorRV< V, M > * m_totalPrior
Definition: GPMSA.h:345
GPMSAEmulator< V, M > * gpmsaEmulator
Definition: GPMSA.h:359
template<class V , class M >
void QUESO::GPMSAFactory< V, M >::addSimulations ( const std::vector< V * > &  simulationScenarios,
const std::vector< V * > &  simulationParameters,
const std::vector< V * > &  simulationOutputs 
)

Adds multiple simulations to this.

This method takes a vector of simulations and calls addSimulation on each element

Definition at line 489 of file GPMSA.C.

493 {
494  for (unsigned int i = 0; i < this->m_numSimulations; i++) {
496  *(simulationOutputs[i]));
497  }
498 }
const std::vector< V * > & simulationParameters() const
Return all points in parameterSpace for all simulations.
Definition: GPMSA.C:369
const std::vector< V * > & simulationScenarios() const
Return all points in scenarioSpace for all simulations.
Definition: GPMSA.C:350
unsigned int m_numSimulations
Definition: GPMSA.h:269
void addSimulation(V &simulationScenario, V &simulationParameter, V &simulationOutput)
Add a simulation to this.
Definition: GPMSA.C:454
const std::vector< V * > & simulationOutputs() const
Return all points in simulationOutputSpace for all simulations.
Definition: GPMSA.C:388
template<class V , class M >
const BaseEnvironment & QUESO::GPMSAFactory< V, M >::env ( ) const

Return the QUESO environment.

Definition at line 440 of file GPMSA.C.

441 {
442  return this->m_env;
443 }
const BaseEnvironment & m_env
Definition: GPMSA.h:260
template<class V , class M >
const M & QUESO::GPMSAFactory< V, M >::experimentErrors ( ) const

Return all observation error covarince matrices for all experiments.

Definition at line 433 of file GPMSA.C.

434 {
435  return *(this->m_experimentErrors);
436 }
const M * m_experimentErrors
Definition: GPMSA.h:279
template<class V , class M >
const V & QUESO::GPMSAFactory< V, M >::experimentOutput ( unsigned int  experimentId) const

Return the experiment output for experiment experimentId.

The returned vector is a point in experimentOutputSpace

Definition at line 414 of file GPMSA.C.

References queso_require_less_msg, and queso_require_msg.

416 {
417  queso_require_less_msg(experimentId, (this->m_experimentOutputs).size(), "experimentId is too large");
418 
419  queso_require_msg(this->m_experimentOutputs[experimentId], "vector is NULL");
420 
421  return *(this->m_experimentOutputs[experimentId]);
422 }
std::vector< V * > m_experimentOutputs
Definition: GPMSA.h:276
#define queso_require_msg(asserted, msg)
Definition: asserts.h:69
#define queso_require_less_msg(expr1, expr2, msg)
Definition: asserts.h:87
template<class V , class M >
const std::vector< V * > & QUESO::GPMSAFactory< V, M >::experimentOutputs ( ) const

Return all points in experimentOutputSpace for all experiments.

This returns all points in experiment output space at which experiments were executed

Definition at line 426 of file GPMSA.C.

427 {
428  return this->m_experimentOutputs;
429 }
std::vector< V * > m_experimentOutputs
Definition: GPMSA.h:276
template<class V , class M >
const VectorSpace< V, M > & QUESO::GPMSAFactory< V, M >::experimentOutputSpace ( ) const

Return the vector space in which experiments live.

Definition at line 331 of file GPMSA.C.

332 {
333  return this->m_experimentOutputSpace;
334 }
const VectorSpace< V, M > & m_experimentOutputSpace
Definition: GPMSA.h:267
template<class V , class M >
const V & QUESO::GPMSAFactory< V, M >::experimentScenario ( unsigned int  experimentId) const

Return the point in scenarioSpace for experiment experimentId.

This returns the point in scenario space at which experiment experimentId was executed

Definition at line 395 of file GPMSA.C.

References queso_require_less_msg, and queso_require_msg.

397 {
398  queso_require_less_msg(experimentId, (this->m_experimentScenarios).size(), "experimentId is too large");
399 
400  queso_require_msg(this->m_experimentScenarios[experimentId], "vector is NULL");
401 
402  return *(this->m_experimentScenarios[experimentId]);
403 }
#define queso_require_msg(asserted, msg)
Definition: asserts.h:69
#define queso_require_less_msg(expr1, expr2, msg)
Definition: asserts.h:87
std::vector< V * > m_experimentScenarios
Definition: GPMSA.h:275
template<class V , class M >
const std::vector< V * > & QUESO::GPMSAFactory< V, M >::experimentScenarios ( ) const

Return all points in scenarioSpace for all experiments.

This returns all points in scenario space at which experiments were executed

Definition at line 407 of file GPMSA.C.

408 {
409  return this->m_experimentScenarios;
410 }
std::vector< V * > m_experimentScenarios
Definition: GPMSA.h:275
template<class V , class M >
const GPMSAEmulator< V, M > & QUESO::GPMSAFactory< V, M >::getGPMSAEmulator ( ) const

Return the GPMSAEmulator likelihood object.

Definition at line 447 of file GPMSA.C.

448 {
449  return *(this->gpmsaEmulator);
450 }
GPMSAEmulator< V, M > * gpmsaEmulator
Definition: GPMSA.h:359
template<class V , class M >
unsigned int QUESO::GPMSAFactory< V, M >::numExperiments ( ) const

Return number of experiments.

Definition at line 303 of file GPMSA.C.

304 {
305  return this->m_numExperiments;
306 }
unsigned int m_numExperiments
Definition: GPMSA.h:270
template<class V , class M >
unsigned int QUESO::GPMSAFactory< V, M >::numSimulations ( ) const

Return number of simulations.

Definition at line 296 of file GPMSA.C.

297 {
298  return this->m_numSimulations;
299 }
unsigned int m_numSimulations
Definition: GPMSA.h:269
template<class V , class M >
const VectorSpace< V, M > & QUESO::GPMSAFactory< V, M >::parameterSpace ( ) const

Return the vector space in which parameters live.

Definition at line 317 of file GPMSA.C.

318 {
319  return this->m_parameterSpace;
320 }
const VectorSpace< V, M > & m_parameterSpace
Definition: GPMSA.h:265
template<class V , class M >
void QUESO::GPMSAFactory< V, M >::print ( std::ostream &  os) const

Definition at line 547 of file GPMSA.C.

548 {
549  // Do nothing
550 }
template<class V , class M >
const ConcatenatedVectorRV< V, M > & QUESO::GPMSAFactory< V, M >::prior ( ) const

Definition at line 540 of file GPMSA.C.

541 {
542  return *(this->m_totalPrior);
543 }
ConcatenatedVectorRV< V, M > * m_totalPrior
Definition: GPMSA.h:345
template<class V , class M >
const VectorSpace< V, M > & QUESO::GPMSAFactory< V, M >::scenarioSpace ( ) const

Return the vector space in which scenarios live.

Definition at line 310 of file GPMSA.C.

311 {
312  return this->m_scenarioSpace;
313 }
const VectorSpace< V, M > & m_scenarioSpace
Definition: GPMSA.h:264
template<class V , class M >
void QUESO::GPMSAFactory< V, M >::setUpHyperpriors ( )

Definition at line 555 of file GPMSA.C.

Referenced by QUESO::GPMSAFactory< V, M >::GPMSAFactory().

556 {
557  double emulatorPrecisionShape = this->m_opts->m_emulatorPrecisionShape;
558  double emulatorPrecisionScale = this->m_opts->m_emulatorPrecisionScale;
559  double emulatorCorrelationStrengthAlpha = this->m_opts->m_emulatorCorrelationStrengthAlpha;
560  double emulatorCorrelationStrengthBeta = this->m_opts->m_emulatorCorrelationStrengthBeta;
561  double discrepancyPrecisionShape = this->m_opts->m_discrepancyPrecisionShape;
562  double discrepancyPrecisionScale = this->m_opts->m_discrepancyPrecisionScale;
563  double discrepancyCorrelationStrengthAlpha = this->m_opts->m_discrepancyCorrelationStrengthAlpha;
564  double discrepancyCorrelationStrengthBeta = this->m_opts->m_discrepancyCorrelationStrengthBeta;
565  double emulatorDataPrecisionShape = this->m_opts->m_emulatorDataPrecisionShape;
566  double emulatorDataPrecisionScale = this->m_opts->m_emulatorDataPrecisionScale;
567 
568  this->oneDSpace = new VectorSpace<V, M>(this->m_env, "", 1, NULL);
569 
570  // Emulator mean
571  this->emulatorMeanMin = new V(this->oneDSpace->zeroVector());
572  this->emulatorMeanMax = new V(this->oneDSpace->zeroVector());
573  this->emulatorMeanMin->cwSet(-INFINITY);
574  this->emulatorMeanMax->cwSet(INFINITY);
575 
576  this->emulatorMeanDomain = new BoxSubset<V, M>(
577  "",
578  *(this->oneDSpace),
579  *(this->emulatorMeanMin),
580  *(this->emulatorMeanMax));
581 
582  this->m_emulatorMean = new UniformVectorRV<V, M>(
583  "",
584  *(this->emulatorMeanDomain));
585 
586  // Emulator precision
587  this->emulatorPrecisionMin = new V(this->oneDSpace->zeroVector());
588  this->emulatorPrecisionMax = new V(this->oneDSpace->zeroVector());
589  this->m_emulatorPrecisionShapeVec = new V(this->oneDSpace->zeroVector());
590  this->m_emulatorPrecisionScaleVec = new V(this->oneDSpace->zeroVector());
591  this->emulatorPrecisionMin->cwSet(0.3);
592  this->emulatorPrecisionMax->cwSet(INFINITY);
593  this->m_emulatorPrecisionShapeVec->cwSet(emulatorPrecisionShape);
594  this->m_emulatorPrecisionScaleVec->cwSet(emulatorPrecisionScale);
595 
596  this->emulatorPrecisionDomain = new BoxSubset<V, M>(
597  "",
598  *(this->oneDSpace),
599  *(this->emulatorPrecisionMin),
600  *(this->emulatorPrecisionMax));
601 
602  this->m_emulatorPrecision = new GammaVectorRV<V, M>("",
603  *(this->emulatorPrecisionDomain),
604  *(this->m_emulatorPrecisionShapeVec),
605  *(this->m_emulatorPrecisionScaleVec));
606 
607  // Emulator correlation strength
608  unsigned int dimScenario = (this->scenarioSpace()).dimLocal();
609  unsigned int dimParameter = (this->parameterSpace()).dimLocal();
610  this->emulatorCorrelationSpace = new VectorSpace<V, M>(
611  this->m_env,
612  "",
613  dimScenario + dimParameter,
614  NULL);
615 
616  this->emulatorCorrelationMin = new V(
617  this->emulatorCorrelationSpace->zeroVector());
618  this->emulatorCorrelationMax = new V(
619  this->emulatorCorrelationSpace->zeroVector());
621  this->emulatorCorrelationSpace->zeroVector());
623  this->emulatorCorrelationSpace->zeroVector());
624  this->emulatorCorrelationMin->cwSet(0);
625  this->emulatorCorrelationMax->cwSet(1);
626  this->m_emulatorCorrelationStrengthAlphaVec->cwSet(emulatorCorrelationStrengthAlpha);
627  this->m_emulatorCorrelationStrengthBetaVec->cwSet(emulatorCorrelationStrengthBeta);
628 
629  this->emulatorCorrelationDomain = new BoxSubset<V, M>(
630  "",
631  *(this->emulatorCorrelationSpace),
632  *(this->emulatorCorrelationMin),
633  *(this->emulatorCorrelationMax));
634 
635  this->m_emulatorCorrelationStrength = new BetaVectorRV<V, M>("",
636  *(this->emulatorCorrelationDomain),
637  *(this->m_emulatorCorrelationStrengthAlphaVec),
639 
640  // Discrepancy precision
641  this->discrepancyPrecisionMin = new V(this->oneDSpace->zeroVector());
642  this->discrepancyPrecisionMax = new V(this->oneDSpace->zeroVector());
643  this->m_discrepancyPrecisionShapeVec = new V(this->oneDSpace->zeroVector());
644  this->m_discrepancyPrecisionScaleVec = new V(this->oneDSpace->zeroVector());
645  this->discrepancyPrecisionMin->cwSet(0);
646  this->discrepancyPrecisionMax->cwSet(INFINITY);
647  this->m_discrepancyPrecisionShapeVec->cwSet(discrepancyPrecisionShape);
648  this->m_discrepancyPrecisionScaleVec->cwSet(discrepancyPrecisionScale);
649 
650  this->discrepancyPrecisionDomain = new BoxSubset<V, M>(
651  "",
652  *(this->oneDSpace),
653  *(this->discrepancyPrecisionMin),
654  *(this->emulatorPrecisionMax));
655 
656  this->m_discrepancyPrecision = new GammaVectorRV<V, M>("",
658  *(this->m_discrepancyPrecisionShapeVec),
660 
661  // Discrepancy correlation strength
662  this->discrepancyCorrelationSpace = new VectorSpace<V, M>(
663  this->m_env,
664  "",
665  dimScenario,
666  NULL);
667 
668  this->discrepancyCorrelationMin = new V(
669  this->discrepancyCorrelationSpace->zeroVector());
670  this->discrepancyCorrelationMax = new V(
671  this->discrepancyCorrelationSpace->zeroVector());
673  this->discrepancyCorrelationSpace->zeroVector());
675  this->discrepancyCorrelationSpace->zeroVector());
676  this->discrepancyCorrelationMin->cwSet(0);
677  this->discrepancyCorrelationMax->cwSet(1);
678  this->m_discrepancyCorrelationStrengthAlphaVec->cwSet(discrepancyCorrelationStrengthAlpha);
679  this->m_discrepancyCorrelationStrengthBetaVec->cwSet(discrepancyCorrelationStrengthBeta);
680 
681  this->discrepancyCorrelationDomain = new BoxSubset<V, M>(
682  "",
684  *(this->discrepancyCorrelationMin),
685  *(this->discrepancyCorrelationMax));
686 
687  this->m_discrepancyCorrelationStrength = new BetaVectorRV<V, M>("",
689  *(this->m_discrepancyCorrelationStrengthAlphaVec),
691 
692  // Emulator data precision
693  this->emulatorDataPrecisionMin = new V(this->oneDSpace->zeroVector());
694  this->emulatorDataPrecisionMax = new V(this->oneDSpace->zeroVector());
695  this->m_emulatorDataPrecisionShapeVec = new V(this->oneDSpace->zeroVector());
696  this->m_emulatorDataPrecisionScaleVec = new V(this->oneDSpace->zeroVector());
697  this->emulatorDataPrecisionMin->cwSet(60.0);
698  this->emulatorDataPrecisionMax->cwSet(1e5);
699  this->m_emulatorDataPrecisionShapeVec->cwSet(emulatorDataPrecisionShape);
700  this->m_emulatorDataPrecisionScaleVec->cwSet(emulatorDataPrecisionScale);
701 
702  this->emulatorDataPrecisionDomain = new BoxSubset<V, M>(
703  "",
704  *(this->oneDSpace),
705  *(this->emulatorDataPrecisionMin),
706  *(this->emulatorDataPrecisionMax));
707 
708  this->m_emulatorDataPrecision = new GammaVectorRV<V, M>("",
710  *(this->m_emulatorDataPrecisionShapeVec),
712 
713  // Now form full prior
714  unsigned int dimSum = 4 +
715  dimParameter +
716  dimParameter +
717  dimScenario +
718  dimScenario; // yum
719 
720  this->totalSpace = new VectorSpace<V, M>(
721  this->m_env,
722  "",
723  dimSum,
724  NULL);
725  this->totalMins = new V(this->totalSpace->zeroVector());
726  this->totalMaxs = new V(this->totalSpace->zeroVector());
727 
728  // Hackety hack McHackington. There's no better way to do this unfortunately
729  this->totalMins->cwSet(0);
730  this->totalMaxs->cwSet(1);
731 
732  (*(this->totalMins))[dimParameter] = -INFINITY; // Min mean
733  (*(this->totalMaxs))[dimParameter] = INFINITY; // Max mean
734  (*(this->totalMins))[dimParameter+1] = 0.3; // Min emulator precision
735  (*(this->totalMaxs))[dimParameter+1] = INFINITY; // Max emulator precision
736  (*(this->totalMins))[dimSum-1] = 60.0; // Min emulator data precision
737  (*(this->totalMaxs))[dimSum-1] = 1e5; // Max emulator data precision
738 
739  // Min discrepancy precision
740  (*(this->totalMins))[dimScenario+dimParameter+dimParameter+2] = 0;
741  // Max discrepancy precision
742  (*(this->totalMaxs))[dimScenario+dimParameter+dimParameter+2] = INFINITY;
743 
744  this->totalDomain = new BoxSubset<V, M>(
745  "",
746  *(this->totalSpace),
747  *(this->totalMins),
748  *(this->totalMaxs));
749 
750  this->priors[0] = &(this->m_parameterPrior);
751  this->priors[1] = this->m_emulatorMean;
752  this->priors[2] = this->m_emulatorPrecision;
753  this->priors[3] = this->m_emulatorCorrelationStrength;
754  this->priors[4] = this->m_discrepancyPrecision;
755  this->priors[5] = this->m_discrepancyCorrelationStrength;
756  this->priors[6] = this->m_emulatorDataPrecision;
757 
758  // Finally
759  this->m_totalPrior = new ConcatenatedVectorRV<V, M>(
760  "",
761  this->priors,
762  *(this->totalDomain));
763 }
V * discrepancyCorrelationMin
Definition: GPMSA.h:320
GammaVectorRV< V, M > * m_discrepancyPrecision
Definition: GPMSA.h:342
double m_discrepancyPrecisionShape
The shape parameter for the Gamma hyperprior for the discrepancy precision.
Definition: GPMSAOptions.h:71
V * m_discrepancyCorrelationStrengthBetaVec
Definition: GPMSA.h:354
BetaVectorRV< V, M > * m_discrepancyCorrelationStrength
Definition: GPMSA.h:343
VectorSpace< V, M > * totalSpace
Definition: GPMSA.h:330
V * m_emulatorPrecisionScaleVec
Definition: GPMSA.h:348
BetaVectorRV< V, M > * m_emulatorCorrelationStrength
Definition: GPMSA.h:341
BoxSubset< V, M > * emulatorMeanDomain
Definition: GPMSA.h:300
V * emulatorCorrelationMax
Definition: GPMSA.h:310
BoxSubset< V, M > * emulatorCorrelationDomain
Definition: GPMSA.h:311
BoxSubset< V, M > * emulatorPrecisionDomain
Definition: GPMSA.h:305
double m_discrepancyCorrelationStrengthBeta
The beta paramter for the Beta hyperprior for the discrepancy correlation strength.
Definition: GPMSAOptions.h:80
V * m_emulatorDataPrecisionShapeVec
Definition: GPMSA.h:355
double m_emulatorPrecisionScale
The scale parameter for the Gamma hyperprior for the emulator precision.
Definition: GPMSAOptions.h:62
GPMSAOptions * m_opts
Definition: GPMSA.h:363
double m_emulatorDataPrecisionScale
The scale parameter for the Gamma hyperprior for the emulator data precision.
Definition: GPMSAOptions.h:89
V * emulatorCorrelationMin
Definition: GPMSA.h:309
V * discrepancyPrecisionMax
Definition: GPMSA.h:315
V * m_discrepancyPrecisionShapeVec
Definition: GPMSA.h:351
V * emulatorDataPrecisionMax
Definition: GPMSA.h:326
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
V * m_emulatorPrecisionShapeVec
Definition: GPMSA.h:347
V * m_emulatorDataPrecisionScaleVec
Definition: GPMSA.h:356
V * discrepancyCorrelationMax
Definition: GPMSA.h:321
V * m_emulatorCorrelationStrengthAlphaVec
Definition: GPMSA.h:349
V * m_emulatorCorrelationStrengthBetaVec
Definition: GPMSA.h:350
const BaseVectorRV< V, M > & m_parameterPrior
Definition: GPMSA.h:262
UniformVectorRV< V, M > * m_emulatorMean
Definition: GPMSA.h:339
VectorSpace< V, M > * emulatorCorrelationSpace
Definition: GPMSA.h:308
VectorSpace< V, M > * discrepancyCorrelationSpace
Definition: GPMSA.h:319
VectorSpace< V, M > * oneDSpace
Definition: GPMSA.h:295
const VectorSpace< V, M > & parameterSpace() const
Return the vector space in which parameters live.
Definition: GPMSA.C:317
V * emulatorDataPrecisionMin
Definition: GPMSA.h:325
GammaVectorRV< V, M > * m_emulatorPrecision
Definition: GPMSA.h:340
V * emulatorPrecisionMax
Definition: GPMSA.h:304
BoxSubset< V, M > * discrepancyPrecisionDomain
Definition: GPMSA.h:316
GammaVectorRV< V, M > * m_emulatorDataPrecision
Definition: GPMSA.h:344
V * m_discrepancyPrecisionScaleVec
Definition: GPMSA.h:352
BoxSubset< V, M > * discrepancyCorrelationDomain
Definition: GPMSA.h:322
double m_emulatorPrecisionShape
The shape parameter for the Gamma hyperprior for the emulator precision.
Definition: GPMSAOptions.h:59
const BaseEnvironment & m_env
Definition: GPMSA.h:260
double m_emulatorDataPrecisionShape
The shape parameter for the Gamma hyperprior for the emulator data precision.
Definition: GPMSAOptions.h:86
double m_discrepancyPrecisionScale
The scale parameter for the Gamma hyperprior for the discrepancy precision.
Definition: GPMSAOptions.h:74
std::vector< const BaseVectorRV< V, M > * > priors
Definition: GPMSA.h:336
BoxSubset< V, M > * totalDomain
Definition: GPMSA.h:334
V * m_discrepancyCorrelationStrengthAlphaVec
Definition: GPMSA.h:353
V * emulatorPrecisionMin
Definition: GPMSA.h:303
const VectorSpace< V, M > & scenarioSpace() const
Return the vector space in which scenarios live.
Definition: GPMSA.C:310
double m_emulatorCorrelationStrengthBeta
The beta paramter for the Beta hyperprior for the emulator correlation strength.
Definition: GPMSAOptions.h:68
V * discrepancyPrecisionMin
Definition: GPMSA.h:314
BoxSubset< V, M > * emulatorDataPrecisionDomain
Definition: GPMSA.h:327
ConcatenatedVectorRV< V, M > * m_totalPrior
Definition: GPMSA.h:345
template<class V , class M >
const V & QUESO::GPMSAFactory< V, M >::simulationOutput ( unsigned int  simulationId) const

Return the simulation output for simulation simulationId.

The returned vector is a point in simulationOutputSpace

Definition at line 376 of file GPMSA.C.

References queso_require_less_msg, and queso_require_msg.

378 {
379  queso_require_less_msg(simulationId, m_simulationOutputs.size(), "simulationId is too large");
380 
381  queso_require_msg(m_simulationOutputs[simulationId], "vector is NULL");
382 
383  return *(this->m_simulationOutputs[simulationId]);
384 }
std::vector< V * > m_simulationOutputs
Definition: GPMSA.h:274
#define queso_require_msg(asserted, msg)
Definition: asserts.h:69
#define queso_require_less_msg(expr1, expr2, msg)
Definition: asserts.h:87
template<class V , class M >
const std::vector< V * > & QUESO::GPMSAFactory< V, M >::simulationOutputs ( ) const

Return all points in simulationOutputSpace for all simulations.

This returns all points in simulation output space at which simulations were executed

Definition at line 388 of file GPMSA.C.

389 {
390  return this->m_simulationOutputs;
391 }
std::vector< V * > m_simulationOutputs
Definition: GPMSA.h:274
template<class V , class M >
const VectorSpace< V, M > & QUESO::GPMSAFactory< V, M >::simulationOutputSpace ( ) const

Return the vector space in which simulations live.

Definition at line 324 of file GPMSA.C.

325 {
326  return this->m_simulationOutputSpace;
327 }
const VectorSpace< V, M > & m_simulationOutputSpace
Definition: GPMSA.h:266
template<class V , class M >
const V & QUESO::GPMSAFactory< V, M >::simulationParameter ( unsigned int  simulationId) const

Return the point in parameterSpace for simulation simulationId.

This returns the point in parameter space at which simulation simulationId was executed

Definition at line 357 of file GPMSA.C.

References queso_require_less_msg, and queso_require_msg.

359 {
360  queso_require_less_msg(simulationId, m_simulationParameters.size(), "simulationId is too large");
361 
362  queso_require_msg(m_simulationParameters[simulationId], "vector is NULL");
363 
364  return *(this->m_simulationParameters[simulationId]);
365 }
std::vector< V * > m_simulationParameters
Definition: GPMSA.h:273
#define queso_require_msg(asserted, msg)
Definition: asserts.h:69
#define queso_require_less_msg(expr1, expr2, msg)
Definition: asserts.h:87
template<class V , class M >
const std::vector< V * > & QUESO::GPMSAFactory< V, M >::simulationParameters ( ) const

Return all points in parameterSpace for all simulations.

This returns all points in parameter space at which simulations were executed

Definition at line 369 of file GPMSA.C.

370 {
371  return this->m_simulationParameters;
372 }
std::vector< V * > m_simulationParameters
Definition: GPMSA.h:273
template<class V , class M >
const V & QUESO::GPMSAFactory< V, M >::simulationScenario ( unsigned int  simulationId) const

Return the point in scenarioSpace for simulation simulationId.

This returns the point in scenario space at which simulation simulationId was executed

Definition at line 338 of file GPMSA.C.

References queso_require_less_msg, and queso_require_msg.

340 {
341  queso_require_less_msg(simulationId, m_simulationScenarios.size(), "simulationId is too large");
342 
343  queso_require_msg(m_simulationScenarios[simulationId], "vector is NULL");
344 
345  return *(this->m_simulationScenarios[simulationId]);
346 }
#define queso_require_msg(asserted, msg)
Definition: asserts.h:69
#define queso_require_less_msg(expr1, expr2, msg)
Definition: asserts.h:87
std::vector< V * > m_simulationScenarios
Definition: GPMSA.h:272
template<class V , class M >
const std::vector< V * > & QUESO::GPMSAFactory< V, M >::simulationScenarios ( ) const

Return all points in scenarioSpace for all simulations.

This returns all points in scenario space at which simulations were executed

Definition at line 350 of file GPMSA.C.

351 {
352  return this->m_simulationScenarios;
353 }
std::vector< V * > m_simulationScenarios
Definition: GPMSA.h:272

Friends And Related Function Documentation

template<class V = GslVector, class M = GslMatrix>
std::ostream& operator<< ( std::ostream &  os,
const GPMSAFactory< V, M > &  obj 
)
friend

Definition at line 253 of file GPMSA.h.

255  {
256  obj.print(os);
257  return os;
258  }

Member Data Documentation

template<class V = GslVector, class M = GslMatrix>
BoxSubset<V, M>* QUESO::GPMSAFactory< V, M >::discrepancyCorrelationDomain

Definition at line 322 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
V* QUESO::GPMSAFactory< V, M >::discrepancyCorrelationMax

Definition at line 321 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
V* QUESO::GPMSAFactory< V, M >::discrepancyCorrelationMin

Definition at line 320 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
VectorSpace<V, M>* QUESO::GPMSAFactory< V, M >::discrepancyCorrelationSpace

Definition at line 319 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
BoxSubset<V, M>* QUESO::GPMSAFactory< V, M >::discrepancyPrecisionDomain

Definition at line 316 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
V* QUESO::GPMSAFactory< V, M >::discrepancyPrecisionMax

Definition at line 315 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
V* QUESO::GPMSAFactory< V, M >::discrepancyPrecisionMin

Definition at line 314 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
BoxSubset<V, M>* QUESO::GPMSAFactory< V, M >::emulatorCorrelationDomain

Definition at line 311 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
V* QUESO::GPMSAFactory< V, M >::emulatorCorrelationMax

Definition at line 310 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
V* QUESO::GPMSAFactory< V, M >::emulatorCorrelationMin

Definition at line 309 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
VectorSpace<V, M>* QUESO::GPMSAFactory< V, M >::emulatorCorrelationSpace

Definition at line 308 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
BoxSubset<V, M>* QUESO::GPMSAFactory< V, M >::emulatorDataPrecisionDomain

Definition at line 327 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
V* QUESO::GPMSAFactory< V, M >::emulatorDataPrecisionMax

Definition at line 326 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
V* QUESO::GPMSAFactory< V, M >::emulatorDataPrecisionMin

Definition at line 325 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
BoxSubset<V, M>* QUESO::GPMSAFactory< V, M >::emulatorMeanDomain

Definition at line 300 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
V* QUESO::GPMSAFactory< V, M >::emulatorMeanMax

Definition at line 299 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
V* QUESO::GPMSAFactory< V, M >::emulatorMeanMin

Definition at line 298 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
BoxSubset<V, M>* QUESO::GPMSAFactory< V, M >::emulatorPrecisionDomain

Definition at line 305 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
V* QUESO::GPMSAFactory< V, M >::emulatorPrecisionMax

Definition at line 304 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
V* QUESO::GPMSAFactory< V, M >::emulatorPrecisionMin

Definition at line 303 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
GPMSAEmulator<V, M>* QUESO::GPMSAFactory< V, M >::gpmsaEmulator

Definition at line 359 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
bool QUESO::GPMSAFactory< V, M >::m_constructedGP

Definition at line 360 of file GPMSA.h.

Referenced by QUESO::GPMSAFactory< V, M >::GPMSAFactory().

template<class V = GslVector, class M = GslMatrix>
BetaVectorRV<V, M>* QUESO::GPMSAFactory< V, M >::m_discrepancyCorrelationStrength

Definition at line 343 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
V* QUESO::GPMSAFactory< V, M >::m_discrepancyCorrelationStrengthAlphaVec

Definition at line 353 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
V* QUESO::GPMSAFactory< V, M >::m_discrepancyCorrelationStrengthBetaVec

Definition at line 354 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
GammaVectorRV<V, M>* QUESO::GPMSAFactory< V, M >::m_discrepancyPrecision

Definition at line 342 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
V* QUESO::GPMSAFactory< V, M >::m_discrepancyPrecisionScaleVec

Definition at line 352 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
V* QUESO::GPMSAFactory< V, M >::m_discrepancyPrecisionShapeVec

Definition at line 351 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
BetaVectorRV<V, M>* QUESO::GPMSAFactory< V, M >::m_emulatorCorrelationStrength

Definition at line 341 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
V* QUESO::GPMSAFactory< V, M >::m_emulatorCorrelationStrengthAlphaVec

Definition at line 349 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
V* QUESO::GPMSAFactory< V, M >::m_emulatorCorrelationStrengthBetaVec

Definition at line 350 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
GammaVectorRV<V, M>* QUESO::GPMSAFactory< V, M >::m_emulatorDataPrecision

Definition at line 344 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
V* QUESO::GPMSAFactory< V, M >::m_emulatorDataPrecisionScaleVec

Definition at line 356 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
V* QUESO::GPMSAFactory< V, M >::m_emulatorDataPrecisionShapeVec

Definition at line 355 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
UniformVectorRV<V, M>* QUESO::GPMSAFactory< V, M >::m_emulatorMean

Definition at line 339 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
GammaVectorRV<V, M>* QUESO::GPMSAFactory< V, M >::m_emulatorPrecision

Definition at line 340 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
V* QUESO::GPMSAFactory< V, M >::m_emulatorPrecisionScaleVec

Definition at line 348 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
V* QUESO::GPMSAFactory< V, M >::m_emulatorPrecisionShapeVec

Definition at line 347 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
const BaseEnvironment& QUESO::GPMSAFactory< V, M >::m_env

Definition at line 260 of file GPMSA.h.

Referenced by QUESO::GPMSAFactory< V, M >::GPMSAFactory().

template<class V = GslVector, class M = GslMatrix>
const M* QUESO::GPMSAFactory< V, M >::m_experimentErrors

Definition at line 279 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
std::vector<V *> QUESO::GPMSAFactory< V, M >::m_experimentOutputs

Definition at line 276 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
const VectorSpace<V, M>& QUESO::GPMSAFactory< V, M >::m_experimentOutputSpace

Definition at line 267 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
std::vector<V *> QUESO::GPMSAFactory< V, M >::m_experimentScenarios

Definition at line 275 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
unsigned int QUESO::GPMSAFactory< V, M >::m_numExperimentAdds

Definition at line 283 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
unsigned int QUESO::GPMSAFactory< V, M >::m_numExperiments

Definition at line 270 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
unsigned int QUESO::GPMSAFactory< V, M >::m_numSimulationAdds

Definition at line 282 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
unsigned int QUESO::GPMSAFactory< V, M >::m_numSimulations

Definition at line 269 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
GPMSAOptions* QUESO::GPMSAFactory< V, M >::m_opts
private

Definition at line 363 of file GPMSA.h.

Referenced by QUESO::GPMSAFactory< V, M >::GPMSAFactory().

template<class V = GslVector, class M = GslMatrix>
const BaseVectorRV<V, M>& QUESO::GPMSAFactory< V, M >::m_parameterPrior

Definition at line 262 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
const VectorSpace<V, M>& QUESO::GPMSAFactory< V, M >::m_parameterSpace

Definition at line 265 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
const VectorSpace<V, M>& QUESO::GPMSAFactory< V, M >::m_scenarioSpace

Definition at line 264 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
std::vector<V *> QUESO::GPMSAFactory< V, M >::m_simulationOutputs

Definition at line 274 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
const VectorSpace<V, M>& QUESO::GPMSAFactory< V, M >::m_simulationOutputSpace

Definition at line 266 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
std::vector<V *> QUESO::GPMSAFactory< V, M >::m_simulationParameters

Definition at line 273 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
std::vector<V *> QUESO::GPMSAFactory< V, M >::m_simulationScenarios

Definition at line 272 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
ConcatenatedVectorRV<V, M>* QUESO::GPMSAFactory< V, M >::m_totalPrior

Definition at line 345 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
VectorSpace<V, M>* QUESO::GPMSAFactory< V, M >::oneDSpace

Definition at line 295 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
std::vector<const BaseVectorRV<V, M> *> QUESO::GPMSAFactory< V, M >::priors

Definition at line 336 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
BoxSubset<V, M>* QUESO::GPMSAFactory< V, M >::totalDomain

Definition at line 334 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
V* QUESO::GPMSAFactory< V, M >::totalMaxs

Definition at line 332 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
V* QUESO::GPMSAFactory< V, M >::totalMins

Definition at line 331 of file GPMSA.h.

template<class V = GslVector, class M = GslMatrix>
VectorSpace<V, M>* QUESO::GPMSAFactory< V, M >::totalSpace

Definition at line 330 of file GPMSA.h.


The documentation for this class was generated from the following files:

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