|
| MegaSearchPoll (const Step *parentStep) |
| Constructor. More...
|
|
virtual | ~MegaSearchPoll () |
|
const std::shared_ptr< MadsIteration > | getIterForPoint (const EvalPoint &point) const |
|
| Step () |
| Constructor #1 for MainStep (no parent) More...
|
|
| Step (const Step *parentStep, const std::shared_ptr< RunParameters > &runParams=nullptr, const std::shared_ptr< PbParameters > &pbParams=nullptr) |
| Constructor #2 for child step of a parent sharing the same stopReason. More...
|
|
| Step (const Step *parentStep, std::shared_ptr< AllStopReasons > stopReasons, const std::shared_ptr< RunParameters > &runParams=nullptr, const std::shared_ptr< PbParameters > &pbParams=nullptr) |
| Constructor #3: for a child Step with a provided stopReason (such as an algorithm) More...
|
|
virtual | ~Step () |
| Destructor. More...
|
|
const Step * | getParentStep () const |
| Get the parent step. More...
|
|
virtual const std::string & | getName () const |
| Get the name of this step. More...
|
|
void | setName (const std::string &name) |
| Set the name of this step. More...
|
|
const std::shared_ptr< AllStopReasons > & | getAllStopReasons () const |
|
const std::shared_ptr< RunParameters > & | getRunParams () const |
|
const std::shared_ptr< PbParameters > & | getPbParams () const |
|
void | addCallback (const CallbackType &callbackType, const StepEndCbFunc &stepEndCbFunc) |
| Set user callback. More...
|
|
void | addCallback (const CallbackType &callbackType, const HotRestartCbFunc &hotRestartCbFunc) |
|
void | AddOutputInfo (const std::string &s, bool isBlockStart, bool isBlockEnd) const |
| display output More...
|
|
void | AddOutputInfo (const std::string &s, OutputLevel outputLevel=OutputLevel::LEVEL_INFO) const |
|
void | AddOutputError (const std::string &s) const |
|
void | AddOutputWarning (const std::string &s) const |
|
void | AddOutputVeryHigh (const std::string &s) const |
|
void | AddOutputHigh (const std::string &s) const |
|
void | AddOutputDebug (const std::string &s) const |
|
void | AddOutputInfo (OutputInfo outputInfo) const |
|
template<typename T > |
T | getParentOfType (const bool stopAtAlgo=true) const |
| Template function to get the parent of given type. More...
|
|
bool | isAnAlgorithm () const |
|
const Algorithm * | getRootAlgorithm () const |
| Get Algorithm ancestor that has no Algorithm ancestor. More...
|
|
std::string | getAlgoName () const |
|
virtual std::string | getAlgoComment () const |
|
virtual void | setAlgoComment (const std::string &algoComment, const bool force=false) |
|
virtual void | resetPreviousAlgoComment (const bool force=false) |
|
const std::shared_ptr< MeshBase > | getIterationMesh () const |
|
const std::shared_ptr< EvalPoint > | getIterationFrameCenter () const |
|
const std::shared_ptr< Barrier > | getMegaIterationBarrier () const |
|
void | start () |
|
bool | run () |
|
void | end () |
|
virtual void | hotRestartOnUserInterrupt () |
| Helper for hot restart functionalities. More...
|
|
void | debugShowCallStack () const |
| For debugging purposes. Show the stack of Steps for this step. More...
|
|
| IterationUtils (const Step *parentStep) |
| Constructor. More...
|
|
virtual | ~IterationUtils () |
| Destructor. More...
|
|
const SuccessType & | getSuccessType () const |
|
void | setSuccessType (const SuccessType &success) |
|
size_t | getTrialPointsCount () const |
|
const EvalPointSet & | getTrialPoints () const |
|
bool | insertTrialPoint (const EvalPoint &evalPoint) |
| Insert a trial point. More...
|
|
void | clearTrialPoints (void) |
| Clear trial points. More...
|
|
virtual bool | postProcessing (const EvalType &evalType) |
| Helper for end task. More...
|
|
void | verifyPointsAreOnMesh (const std::string &name) const |
| Helper for start task. More...
|
|
bool | snapPointToBoundsAndProjectOnMesh (Point &point, const ArrayOfDouble &lowerBound, const ArrayOfDouble &upperBound) |
| Snap a given trial point to the bounds and project on mesh. More...
|
|
bool | evalTrialPoints (Step *step) |
| Start evaluation of the trial points. More...
|
|
size_t | getNbEvalPointsThatNeededEval () const |
| Get the number of evaluation points in the queue for evaluation. More...
|
|
void | updatePointsWithFrameCenter () |
| Add current frame center as originator of each point in trialPoints. More...
|
|
Class for the mega search and poll of MADS.
Calling the start function generates search and poll trial points at the same time before starting evaluation. Calling the run function starts the evaluaions. The postprocessing is performed when calling the end funcion.
Definition at line 60 of file MegaSearchPoll.hpp.