Dakota  Version 7.0
Explore and Predict with Confidence
Public Types | Public Member Functions | Public Attributes | List of all members
ViewRequest Struct Reference

Public Types

enum  Spec : short {
  KEEP = 0 , ALL , DESIGN , UNCERTAIN ,
  ALEATORY_UNCERTAIN , EPISTEMIC_UNCERTAIN , STATE , UNCERTAIN_BY_COUNTS
}
 

Public Member Functions

constexpr ViewRequest (Spec s, bool resp_rule=true)
 

Public Attributes

Spec spec = DESIGN
 
bool responseRule = true
 apply "obj fns / calib terms → DESIGN" first
 

Detailed Description

Describes the active variable view an iterator wants for its iterated model when constructed through the DI (IRStore) path.

The request is resolved against the model inside Iterator::assign_requested_view() before update_from_model() is called. Only the DI constructors use this type; legacy ProblemDescDB constructors are unaffected.

responseRule: when true (the default), the "objective functions or calibration terms → DESIGN" precedence rule is applied before the spec. NonDBayesCalibration passes responseRule=false to prevent calibration terms from flipping to DESIGN.

Member Enumeration Documentation

◆ Spec

enum Spec : short
Enumerator
KEEP 

do not change the model's current view

ALL 

ALL_VIEW.

DESIGN 

DESIGN_VIEW.

UNCERTAIN 

UNCERTAIN_VIEW.

ALEATORY_UNCERTAIN 

ALEATORY_UNCERTAIN_VIEW.

EPISTEMIC_UNCERTAIN 

EPISTEMIC_UNCERTAIN_VIEW.

STATE 

STATE_VIEW Pick UNCERTAIN / ALEATORY_UNCERTAIN / EPISTEMIC_UNCERTAIN based on uncertain variable counts; keep the current view when there are none.


The documentation for this struct was generated from the following file: