SOT
|
Abstract class for a SOT surrogate model. More...
#include <surrogate.h>
Public Member Functions | |
virtual int | numPoints () const =0 |
Method for getting the current number of points. More... | |
virtual int | dim () const =0 |
Method for getting the number of dimensions. More... | |
virtual void | reset ()=0 |
Method for resetting the surrogate model. | |
virtual mat | X () const =0 |
Method for getting the current points. More... | |
virtual vec | X (int i) const =0 |
Method for getting current point number i (0 is the first) More... | |
virtual vec | fX () const =0 |
Method for getting the values of the current points. More... | |
virtual double | fX (int i) const =0 |
Method for getting the value of current point number i (0 is the first) More... | |
virtual void | addPoint (const vec &point, double funVal)=0 |
Method for adding a point with a known value. More... | |
virtual void | addPoints (const mat &points, const vec &funVals)=0 |
Method for adding multiple points with known values. More... | |
virtual double | eval (const vec &point) const =0 |
Method for evaluating the surrogate model at a point. More... | |
virtual double | eval (const vec &point, const vec &dists) const =0 |
Method for evaluating the surrogate at multiple points. More... | |
virtual vec | evals (const mat &points) const =0 |
Method for evaluating the surrogate at multiple points. More... | |
virtual vec | evals (const mat &points, const mat &dists) const =0 |
Method for evaluating the surrogate at multiple points. More... | |
virtual vec | deriv (const vec &point) const =0 |
Method for evaluating the derivative of the surrogate model at a point. More... | |
virtual void | fit ()=0 |
Method for fitting the surrogate model. | |
Abstract class for a SOT surrogate model.
This is the abstract class that should be used as a Base class for all surrogate models in SOT.
|
pure virtual |
Method for adding a point with a known value.
point | Point to be added |
funVal | Function value at point |
Implemented in sot::RBFInterpolant< RBFKernel, PolyTail >, sot::Shepard, and sot::kNN.
Method for adding multiple points with known values.
points | Points to be added |
funVals | Function values at the points |
Implemented in sot::RBFInterpolant< RBFKernel, PolyTail >, sot::Shepard, and sot::kNN.
Method for evaluating the derivative of the surrogate model at a point.
point | Point for which to evaluate the surrogate model |
Implemented in sot::RBFInterpolant< RBFKernel, PolyTail >, sot::Shepard, and sot::kNN.
|
pure virtual |
Method for getting the number of dimensions.
Implemented in sot::RBFInterpolant< RBFKernel, PolyTail >, sot::Shepard, and sot::kNN.
|
pure virtual |
Method for evaluating the surrogate model at a point.
point | Point for which to evaluate the surrogate |
Implemented in sot::RBFInterpolant< RBFKernel, PolyTail >, sot::Shepard, and sot::kNN.
Method for evaluating the surrogate at multiple points.
point | Points for which to evaluate the surrogate model |
dists | Distances between the interpolation nodes and point |
Implemented in sot::RBFInterpolant< RBFKernel, PolyTail >, sot::Shepard, and sot::kNN.
Method for evaluating the surrogate at multiple points.
points | Points for which to evaluate the surrogate model |
Implemented in sot::RBFInterpolant< RBFKernel, PolyTail >, sot::Shepard, and sot::kNN.
Method for evaluating the surrogate at multiple points.
points | Points for which to evaluate the surrogate model |
dists | Distances between the interpolation nodes and the points |
Implemented in sot::RBFInterpolant< RBFKernel, PolyTail >, sot::Shepard, and sot::kNN.
|
pure virtual |
Method for getting the values of the current points.
Implemented in sot::RBFInterpolant< RBFKernel, PolyTail >, sot::Shepard, and sot::kNN.
|
pure virtual |
Method for getting the value of current point number i (0 is the first)
Implemented in sot::RBFInterpolant< RBFKernel, PolyTail >, sot::kNN, and sot::Shepard.
|
pure virtual |
Method for getting the current number of points.
Implemented in sot::RBFInterpolant< RBFKernel, PolyTail >, sot::Shepard, and sot::kNN.
|
pure virtual |
Method for getting the current points.
Implemented in sot::RBFInterpolant< RBFKernel, PolyTail >, sot::Shepard, and sot::kNN.
|
pure virtual |
Method for getting current point number i (0 is the first)
Implemented in sot::RBFInterpolant< RBFKernel, PolyTail >, sot::kNN, and sot::Shepard.