$extrastylesheet
Dakota  Version 6.2
Public Member Functions
SimulationResponse Class Reference

Container class for response functions and their derivatives. SimulationResponse provides the body class. More...

Inheritance diagram for SimulationResponse:
Response

List of all members.

Public Member Functions

 SimulationResponse ()
 default constructor
 SimulationResponse (const Variables &vars, const ProblemDescDB &problem_db)
 standard constructor built from problem description database
 SimulationResponse (const SharedResponseData &srd, const ActiveSet &set)
 alternate constructor that shares a SharedResponseData instance
 SimulationResponse (const SharedResponseData &srd)
 alternate constructor that shares a SharedResponseData instance
 SimulationResponse (const ActiveSet &set)
 alternate constructor using limited data
 ~SimulationResponse ()
 destructor

Detailed Description

Container class for response functions and their derivatives. SimulationResponse provides the body class.

The SimulationResponse class is the "representation" of the response container class. It is the "body" portion of the "handle-body idiom" (see Coplien "Advanced C++", p. 58). The handle class (Response) provides for memory efficiency in management of multiple response objects through reference counting and representation sharing. The body class (SimulationResponse) actually contains the response data (functionValues, functionGradients, functionHessians, etc.). The representation is hidden in that an instance of SimulationResponse may only be created by Response. Therefore, programmers create instances of the Response handle class, and only need to be aware of the handle/body mechanisms when it comes to managing shallow copies (shared representation) versus deep copies (separate representation used for history mechanisms).


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