NOMAD Source
Version 4.0.0 Beta
|
Go to the documentation of this file.
46 #ifndef __NOMAD400_TERMINATION__
47 #define __NOMAD400_TERMINATION__
49 #include "../Algos/Step.hpp"
51 #include "../nomad_nsbegin.hpp"
62 const std::shared_ptr<RunParameters>& runParams =
nullptr,
63 const std::shared_ptr<PbParameters>& pbParams =
nullptr)
64 :
Step(parentStep, runParams, pbParams)
83 virtual bool runImp()
override;
89 virtual void endImp()
override;
101 #include "../nomad_nsend.hpp"
103 #endif // __NOMAD400_TERMINATION__
void init()
Helper for constructor.
Base class of all types of steps (Iteration, Termination, Initialization, Poll, Mads,...
virtual void endImp() override
Implementation for end tasks of algorithm Termination.
virtual bool runImp() override
Implementation for run task of algorithm Termination.
Termination(const Step *parentStep, const std::shared_ptr< RunParameters > &runParams=nullptr, const std::shared_ptr< PbParameters > &pbParams=nullptr)
Constructor.
virtual ~Termination()
Destructor.
bool solHasFeas() const
Helper for end.
Class for termination of an algorithm.
virtual void startImp() override
Will update the step name.
virtual bool terminate(size_t iteration)