SOT
Public Member Functions | List of all members
sot::RBFInterpolantCap< RBFKernel, PolyTail > Class Template Reference

Capped RBF interpolant. More...

#include <rbf.h>

Inheritance diagram for sot::RBFInterpolantCap< RBFKernel, PolyTail >:
sot::RBFInterpolant< RBFKernel, PolyTail > sot::Surrogate

Public Member Functions

 RBFInterpolantCap (int maxPoints, int dim, vec xLow, vec xUp, double eta)
 Constructor. More...
 
 RBFInterpolantCap (int maxPoints, int dim, vec xLow, vec xUp)
 Constructor with default eta. More...
 
void fit ()
 Method for fitting the surrogate model.
 
- Public Member Functions inherited from sot::RBFInterpolant< RBFKernel, PolyTail >
 RBFInterpolant (int maxPoints, int dim)
 Constructor. More...
 
 RBFInterpolant (int maxPoints, int dim, double eta)
 Constructor. More...
 
 RBFInterpolant (int maxPoints, int dim, vec xLow, vec xUp, double eta)
 Constructor. More...
 
 RBFInterpolant (int maxPoints, int dim, vec xLow, vec xUp)
 Constructor with default eta. More...
 
int dim () const
 Method for getting the number of dimensions. More...
 
void reset ()
 Method for resetting the surrogate model.
 
int numPoints () const
 Method for getting the current number of points. More...
 
mat X () const
 Method for getting the current points. More...
 
vec X (int i) const
 Method for getting current point number i (0 is the first) More...
 
vec fX () const
 Method for getting the values of the current points. More...
 
double fX (int i) const
 Method for getting the value of current point number i (0 is the first) More...
 
vec coeffs ()
 Method for getting the RBF interpolation coefficients. More...
 
void addPoint (const vec &ppoint, double funVal)
 Method for adding one points with known value. More...
 
void addPoints (const mat &ppoints, const vec &funVals)
 Method for adding multiple points with known values. More...
 
double eval (const vec &ppoint) const
 Method for evaluating the surrogate model at a point. More...
 
double eval (const vec &ppoint, const vec &dists) const
 Method for evaluating the surrogate model at a point with known distances. More...
 
vec evals (const mat &ppoints) const
 Method for evaluating the surrogate model at multiple points. More...
 
vec evals (const mat &ppoints, const mat &dists) const
 Method for evaluating the surrogate model at multiple points with known distances. More...
 
vec deriv (const vec &ppoint) const
 Method for evaluating the derivative of the surrogate model at a point. More...
 

Additional Inherited Members

- Protected Member Functions inherited from sot::RBFInterpolant< RBFKernel, PolyTail >
void setPoints (const mat &ppoints, const vec &funVals)
 Computes the initial LU decomposition. More...
 
- Protected Attributes inherited from sot::RBFInterpolant< RBFKernel, PolyTail >
RBFKernel mKernel
 
PolyTail mTail
 
mat mL
 
mat mU
 
uvec mp
 
vec mCoeffs
 
vec mfX
 
mat mCenters
 
int mMaxPoints
 
int mDimTail
 
int mNumPoints
 
bool mDirty
 
vec mxLow
 
vec mxUp
 
double mEta = 1e-8
 
int mDim
 

Detailed Description

template<class RBFKernel, class PolyTail>
class sot::RBFInterpolantCap< RBFKernel, PolyTail >

Capped RBF interpolant.

This is a capped version of the RBF interpolant that is useful in cases where there are large function values. This version replaces all of the function values that are above the median of the function values by the value of the median.

Template Parameters
RBFKernelRadial kernel (Cubic is default)
PolyTailPolynomial tail (Linear is default)
Author
David Eriksson, dme65.nosp@m.@cor.nosp@m.nell..nosp@m.edu

Constructor & Destructor Documentation

template<class RBFKernel , class PolyTail >
sot::RBFInterpolantCap< RBFKernel, PolyTail >::RBFInterpolantCap ( int  maxPoints,
int  dim,
vec  xLow,
vec  xUp,
double  eta 
)
inline

Constructor.

Parameters
maxPointsCapacity
dimNumber of dimensions
xLowLower variable bounds
xUpUpper variable bounds
etaDamping coefficient (non-negative)
template<class RBFKernel , class PolyTail >
sot::RBFInterpolantCap< RBFKernel, PolyTail >::RBFInterpolantCap ( int  maxPoints,
int  dim,
vec  xLow,
vec  xUp 
)
inline

Constructor with default eta.

Parameters
maxPointsCapacity
dimNumber of dimensions
xLowLower variable bounds
xUpUpper variable bounds

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