2 #ifndef __NOMAD400_EVCINTERFACE__
3 #define __NOMAD400_EVCINTERFACE__
5 #include "../Algos/MainStep.hpp"
6 #include "../Algos/MeshBase.hpp"
7 #include "../Algos/Step.hpp"
9 #include "../Eval/EvaluatorControl.hpp"
11 #include "../nomad_nsbegin.hpp"
52 void setBarrier(
const std::shared_ptr<Barrier>& subBarrier);
105 #include "../nomad_nsend.hpp"
107 #endif // __NOMAD400_EVCINTERFACE__
const double INF
Infinity.
bool evalSinglePoint(EvalPoint &evalPoint, const Double &hMax=INF)
Evaluate a single point.
SuccessType
Success type of an iteration.
void init()
Helper for constructor.
static void setEvaluatorControl(const std::shared_ptr< EvaluatorControl > &evaluatorControl)
Class interface with EvaluatorControl, used by an Algorithm step through IterationUtils.
static void verifyEvaluatorControlNotNull()
Helper for init and setEvaluatorControl.
EvcInterface(Step *step)
Constructor.
static const std::shared_ptr< EvaluatorControl > getEvaluatorControl()
std::set< EvalPoint, EvalPointCompare > EvalPointSet
Definition for EvalPointSet.
void keepPointsThatNeedEval(EvalPointSet &trialPoints, bool useMesh=true)
void setBarrier(const std::shared_ptr< Barrier > &subBarrier)
Base class of all types of steps (Iteration, Termination, Initialization, Poll, Mads,...).
Custom class for double-precision reals.
void verifyStepNotNull()
Helper for init.
Class for the representation of an evaluation point.
static std::shared_ptr< EvaluatorControl > _evaluatorControl
The step that uses the EvaluatorControl.
SuccessType startEvaluation()