Attention

This API is currently available in C++ and Python.

class OEAdaptor


The OEAdaptor class is a pure virtual base class which defines the interface for classes which adapt or transform variables and gradients during an optimization. Adaptors are useful in cases where function evaluations are performed in a different coordinate system than the variables being optimized (for example polar coordinates are optimized but the function is evaluated in Cartesian coordinates).

The OEAdaptor class defines the following public methods:
The following classes derive from this class:

bool AdaptVar(double *ca, const double *) const

void GetVar(double* var, const double* refVar)