1 #ifndef __NOMAD400_PHASE_ONE__
2 #define __NOMAD400_PHASE_ONE__
4 #include "../../Eval/EvalPoint.hpp"
6 #include "../../Algos/Mads/Mads.hpp"
8 #include "../../Algos/AlgoStopReasons.hpp"
10 #include "../../nomad_nsbegin.hpp"
35 const std::shared_ptr<RunParameters>& runParams,
36 const std::shared_ptr<PbParameters>& refPbParams)
46 virtual void start()
override;
47 virtual bool run()
override;
48 virtual void end()
override;
66 #include "../../nomad_nsend.hpp"
68 #endif // __NOMAD400_PHASE_ONE__
std::vector< BBOutputType > BBOutputTypeList
Definition for the list of blackbox output types.
virtual void readInformationForHotRestart() override
Helper for start() when doing a hot restart.
virtual void end() override
End step of the algorithm.
static void recomputeH(EvalPoint &evalPoint)
static BBOutputTypeList _bboutputtypes
std::shared_ptr< Mads > _mads
PhaseOne(const Step *parentStep, std::shared_ptr< AlgoStopReasons< PhaseOneStopType >> stopReasons, const std::shared_ptr< RunParameters > &runParams, const std::shared_ptr< PbParameters > &refPbParams)
Constructor.
static void setBBOutputTypes(const BBOutputTypeList &bboutputtypes)
std::shared_ptr< AlgoStopReasons< MadsStopType > > _madsStopReasons
virtual bool run() override
Run algorithm execution for single-objective.
virtual void start() override
Start step of the algorithm.
static void recomputeHPB(EvalPoint &evalPoint)
Template class for algorithm stop reasons.
Generic class for any direct search optimizer algorithm.
void init()
Helper for constructor.
Base class of all types of steps (Iteration, Termination, Initialization, Poll, Mads,...).
Class for the representation of an evaluation point.