Dakota  Version 6.19
Explore and Predict with Confidence
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SharedResponseDataRep Class Reference

The representation of a SharedResponseData instance. This representation, or body, may be shared by multiple SharedResponseData handle instances. More...

Public Member Functions

 ~SharedResponseDataRep ()
 destructor must be public for shared_ptr
 

Private Member Functions

 SharedResponseDataRep ()
 default constructor
 
 SharedResponseDataRep (const ProblemDescDB &problem_db)
 standard constructor
 
 SharedResponseDataRep (const ActiveSet &set)
 alternate on-the-fly constructor
 
void copy_rep (SharedResponseDataRep *srd_rep)
 copy the data from srd_rep to the current representation
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 serialize the core shared response data: write and read are symmetric for this class
 
bool operator== (const SharedResponseDataRep &other)
 experimental operator== for use in unit testing
 
void build_field_labels (const StringArray &labels_per_group)
 populate functionLabels with scalar and unrolled field labels based on fieldLabels and group lengths
 
void resize_field_labels (const StringArray &old_full_labels, size_t old_field_elements)
 
void update_field_labels ()
 update functionLabels with unrolled field labels based on fieldLabels and group lengths
 
std::string primary_fn_name () const
 the primary function type as a friendly string, e.g., "objective_functions"
 

Private Attributes

short responseType
 enumeration of BASE_RESPONSE, SIMULATION_RESPONSE, or EXPERIMENT_RESPONSE
 
short primaryFnType
 data set type for primary response: generic, objective, calibration
 
String responsesId
 response identifier string from the input file
 
StringArray functionLabels
 fine-grained (unrolled) set of response function identifiers used to improve output readability; length Response::functionValues
 
StringArray priFieldLabels
 labels for each primary response field
 
RealVector simulationVariance
 simulation variance
 
size_t numScalarResponses = 0
 number of scalar responses (scalar primary + scalar constraints)
 
size_t numScalarPrimary = 0
 number of scalar primary reponses (secondary computed from difference)
 
IntVector priFieldLengths
 length of each primary response field
 
IntVector coordsPerPriField
 number of independent coordinates, e.g., x, t, for each field f(x,t)
 
StringArray metadataLabels
 descriptors for metadata fields (empty if none)
 

Friends

class SharedResponseData
 
class boost::serialization::access
 allow boost access to serialize this class
 

Detailed Description

The representation of a SharedResponseData instance. This representation, or body, may be shared by multiple SharedResponseData handle instances.

The SharedResponseData/SharedResponseDataRep pairs utilize a handle-body idiom (Coplien, Advanced C++).


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