Public Member Functions | |
| SurrogateDataPoint () | |
| default constructor | |
| SurrogateDataPoint (const RealVector &x, const Real &fn_val, const RealBaseVector &fn_grad, const RealMatrix &fn_hess) | |
| standard constructor | |
| SurrogateDataPoint (const SurrogateDataPoint &sdp) | |
| copy constructor | |
| ~SurrogateDataPoint () | |
| destructor | |
| SurrogateDataPoint & | operator= (const SurrogateDataPoint &sdp) |
| assignment operator | |
| bool | operator== (const SurrogateDataPoint &sdp) const |
| equality operator | |
| const RealVector & | continuous_variables () const |
| return continuousVars | |
| const Real & | response_function () const |
| return responseFn | |
| const RealBaseVector & | response_gradient () const |
| return responseGrad | |
| const RealMatrix & | response_hessian () const |
| return responseHess | |
| bool | is_null () const |
| function to check sdpRep (does this handle contain a body) | |
Private Attributes | |
| SurrogateDataPointRep * | sdpRep |
| pointer to the body (handle-body idiom) | |
A list of these data points is contained in each Approximation instance (Approximation::currentPoints) and provides the data to build the approximation. A handle-body idiom is used to avoid excessive data copying overhead.
1.5.1