NOMAD Source
Version 4.0.0 Beta
|
Go to the documentation of this file.
46 #ifndef __NOMAD400_LH__
47 #define __NOMAD400_LH__
49 #include "../../Algos/Algorithm.hpp"
50 #include "../../Algos/AlgoStopReasons.hpp"
51 #include "../../Algos/IterationUtils.hpp"
53 #include "../../nomad_nsbegin.hpp"
67 const std::shared_ptr<RunParameters>& runParams,
68 const std::shared_ptr<PbParameters>& pbParams)
69 :
Algorithm(parentStep, stopReasons, runParams, pbParams),
97 virtual bool runImp()
override;
103 virtual void endImp()
override;
113 #include "../../nomad_nsend.hpp"
115 #endif // __NOMAD400_LH__
void generateTrialPoints() override
Generate the trial points of an algorithm iteration before evaluation.
Class for Latin Hypercube algorithm sampling.
Generic class for any direct search optimizer algorithm.
Base class of all types of steps (Iteration, Termination, Initialization, Poll, Mads,...
virtual void endImp() override
Implementation for end task.
void init()
Helper for constructor.
Class of utils (attributes and helper functions) for some phases of an algorithm that involve Iterati...
Template class for algorithm stop reasons.
LH(const Step *parentStep, std::shared_ptr< AlgoStopReasons< LHStopType >> stopReasons, const std::shared_ptr< RunParameters > &runParams, const std::shared_ptr< PbParameters > &pbParams)
Constructor.
virtual bool runImp() override
Implementation for run tasks.
virtual void startImp() override
Implementation for start task.
virtual void readInformationForHotRestart() override
Helper for start() when doing a hot restart.