SOT
|
Abstract class for a SOT merit function. More...
#include <merit_functions.h>
Public Member Functions | |
virtual mat | pickPoints (const mat &cand, const std::shared_ptr< Surrogate > &surf, const mat &points, int newPoints, double distTol)=0 |
Method for picking the next point. More... | |
Abstract class for a SOT merit function.
This is the abstract class that should be used as a Base class for all merit functions in SOT. A merit function is used to select the most promising points to evaluate from a set of candidate points.
|
inlinepure virtual |
Method for picking the next point.
cand | The candidate points to choose from |
surf | The surrogate model that predicts the value of the objective function |
points | Previous evaluation that we compute the minimum distance to |
newPoints | Number of candidate points that we are picking |
distTol | Candidate points that are closer than distTol to a previously evaluated point are discarded |
Implemented in sot::MeritWeightedDistance.