Dakota
Version 6.19
Explore and Predict with Confidence
|
Body class for responses specification data. More...
Public Member Functions | |
~DataResponsesRep () | |
destructor | |
Public Attributes | |
String | idResponses |
string identifier for the responses specification data set (from the id_responses specification in RespSetId) | |
StringArray | responseLabels |
the response labels array (from the response_descriptors specification in RespLabels) | |
size_t | numObjectiveFunctions |
number of objective functions (from the num_objective_functions specification in RespFnOpt) | |
size_t | numLeastSqTerms |
number of least squares terms (from the num_calibration_terms specification in RespFnLS) | |
size_t | numNonlinearIneqConstraints |
number of nonlinear inequality constraints (from the num_nonlinear_inequality_constraints specification in RespFnOpt) | |
size_t | numNonlinearEqConstraints |
number of nonlinear equality constraints (from the num_nonlinear_equality_constraints specification in RespFnOpt) | |
size_t | numResponseFunctions |
number of generic response functions (from the num_response_functions specification in RespFnGen) | |
size_t | numScalarObjectiveFunctions |
scalar_objectives: number of objective functions which are scalar | |
size_t | numScalarLeastSqTerms |
scalar_calibration_terms: number of calibration terms which are scalar | |
size_t | numScalarNonlinearIneqConstraints |
number of scalar nonlinear inequality constraints (from the num_scalar_nonlinear_inequality_constraints specification in RespFnOpt) | |
size_t | numScalarNonlinearEqConstraints |
number of scalar nonlinear equality constraints (from the num_scalar_nonlinear_equality_constraints specification in RespFnOpt) | |
size_t | numScalarResponseFunctions |
scalar_responses: number of response functions which are scalar | |
size_t | numFieldObjectiveFunctions |
field_objectives: number of objective functions which are field-valued | |
size_t | numFieldLeastSqTerms |
field_calibration_terms: number of calibration terms which are field-valued | |
size_t | numFieldNonlinearIneqConstraints |
number of field nonlinear inequality constraints (from the num_scalar_nonlinear_inequality_constraints specification in RespFnOpt) | |
size_t | numFieldNonlinearEqConstraints |
number of field nonlinear equality constraints (from the num_scalar_nonlinear_equality_constraints specification in RespFnOpt) | |
size_t | numFieldResponseFunctions |
field_responses: number of response functions which are field-valued | |
StringArray | primaryRespFnSense |
optimization sense for each objective function: minimize or maximize | |
RealVector | primaryRespFnWeights |
vector of weightings for multiobjective optimization or weighted nonlinear least squares (from the multi_objective_weights specification in RespFnOpt and the least_squares_weights specification in RespFnLS) | |
RealVector | nonlinearIneqLowerBnds |
vector of nonlinear inequality constraint lower bounds (from the nonlinear_inequality_lower_bounds specification in RespFnOpt) | |
RealVector | nonlinearIneqUpperBnds |
vector of nonlinear inequality constraint upper bounds (from the nonlinear_inequality_upper_bounds specification in RespFnOpt) | |
RealVector | nonlinearEqTargets |
vector of nonlinear equality constraint targets (from the nonlinear_equality_targets specification in RespFnOpt) | |
StringArray | primaryRespFnScaleTypes |
vector of primary response function scaling types (from the objective_function_scale_types specification in RespFnOpt and the least_squares_term_scale_types specification in RespFnLS) | |
RealVector | primaryRespFnScales |
vector of primary response function scaling factors (from the objective_function_scales specification in RespFnOpt and the least_squares_term_scales specification in RespFnLS) | |
StringArray | nonlinearIneqScaleTypes |
vector of nonlinear inequality constraint scaling types (from the nonlinear_inequality_scale_types specification in RespFnOpt) | |
RealVector | nonlinearIneqScales |
vector of nonlinear inequality constraint scaling factors (from the nonlinear_inequality_scales specification in RespFnOpt) | |
StringArray | nonlinearEqScaleTypes |
vector of nonlinear equality constraint scaling types (from the nonlinear_equality_scale_types specification in RespFnOpt) | |
RealVector | nonlinearEqScales |
vector of nonlinear equality constraint scaling factors (from the nonlinear_equality_scales specification in RespFnOpt) | |
bool | calibrationDataFlag |
whether calibration data was specified | |
size_t | numExperiments |
number of distinct experiments in experimental data | |
size_t | numExpConfigVars |
number of experimental configuration vars (state variables) in each row of data | |
RealVector | expConfigVars |
list of num_experiments x num_config_vars configuration variable values | |
RealVector | simVariance |
list of variances of errors to be added to simulation responses | |
bool | interpolateFlag |
whether one should interpolate between the experiment and simulation field data | |
RealVector | expObservations |
list of num_calibration_terms observation data | |
RealVector | expStdDeviations |
list of 1 or num_calibration_terms observation standard deviations | |
String | scalarDataFileName |
name of experimental data file containing response data (with optional state variable and sigma data) to read | |
unsigned short | scalarDataFormat |
tabular format of the scalar data file | |
String | gradientType |
gradient type: none, numerical, analytic, or mixed (from the no_gradients , numerical_gradients , analytic_gradients , and mixed_gradients specifications in RespGrad) | |
String | hessianType |
Hessian type: none, numerical, quasi, analytic, or mixed (from the no_hessians , numerical_hessians , quasi_hessians , analytic_hessians , and mixed_hessians specifications in RespHess) | |
bool | ignoreBounds |
option to ignore bounds when doing finite differences (default is to honor bounds) | |
bool | centralHess |
Temporary(?) option to use old 2nd-order diffs when computing finite-difference Hessians; default is forward differences. | |
String | quasiHessianType |
quasi-Hessian type: bfgs, damped_bfgs, or sr1 (from the bfgs and sr1 specifications in RespHess) | |
String | methodSource |
numerical gradient method source: dakota or vendor (from the method_source specification in RespGradNum and RespGradMixed) | |
String | intervalType |
numerical gradient interval type: forward or central (from the interval_type specification in RespGradNum and RespGradMixed) | |
RealVector | fdGradStepSize |
vector of finite difference step sizes for numerical gradients, one step size per active continuous variable, used in computing 1st-order forward or central differences (from the fd_gradient_step_size specification in RespGradNum and RespGradMixed) | |
String | fdGradStepType |
type of finite difference step to use for numerical gradient: relative - step length is relative to x absolute - step length is what is specified bounds - step length is relative to range of x | |
RealVector | fdHessStepSize |
vector of finite difference step sizes for numerical Hessians, one step size per active continuous variable, used in computing 1st-order gradient-based differences and 2nd-order function-based differences (from the fd_hessian_step_size specification in RespHessNum and RespHessMixed) | |
String | fdHessStepType |
type of finite difference step to use for numerical Hessian: relative - step length is relative to x absolute - step length is what is specified bounds - step length is relative to range of x | |
IntSet | idNumericalGrads |
mixed gradient numerical identifiers (from the id_numerical_gradients specification in RespGradMixed) | |
IntSet | idAnalyticGrads |
mixed gradient analytic identifiers (from the id_analytic_gradients specification in RespGradMixed) | |
IntSet | idNumericalHessians |
mixed Hessian numerical identifiers (from the id_numerical_hessians specification in RespHessMixed) | |
IntSet | idQuasiHessians |
mixed Hessian quasi identifiers (from the id_quasi_hessians specification in RespHessMixed) | |
IntSet | idAnalyticHessians |
mixed Hessian analytic identifiers (from the id_analytic_hessians specification in RespHessMixed) | |
String | dataPathPrefix |
path to prepend to any data file names | |
IntVector | fieldLengths |
number of entries in each field | |
IntVector | numCoordsPerField |
number of coordinates per field | |
bool | readFieldCoords |
Field data related storage: whether to read simulation field coordinates. | |
StringArray | varianceType |
Array which specifies the sigma type per response (none, one constant value, one per response (vector) or a full covariance matrix. | |
StringArray | metadataLabels |
descriptors for each metadata field | |
Private Member Functions | |
DataResponsesRep () | |
constructor | |
void | write (std::ostream &s) const |
write a DataResponsesRep object to an std::ostream | |
void | read (MPIUnpackBuffer &s) |
read a DataResponsesRep object from a packed MPI buffer | |
void | write (MPIPackBuffer &s) const |
write a DataResponsesRep object to a packed MPI buffer | |
Friends | |
class | DataResponses |
the handle class can access attributes of the body class directly | |
Body class for responses specification data.
The DataResponsesRep class is used to contain the data from a responses keyword specification. Default values are managed in the DataResponsesRep constructor. Data is public to avoid maintaining set/get functions, but is still encapsulated within ProblemDescDB since ProblemDescDB::dataResponsesList is private.