42 #ifndef ALGORITHM_STEP_H
43 #define ALGORITHM_STEP_H
49 namespace IterationPack {
140 ,
const std::string& leading_str
150 #endif // ALGORITHM_STEP_H
Base type for all objects that perform steps in an Algorithm.
virtual void print_step(const Algorithm &algo, poss_type step_poss, EDoStepType type, poss_type assoc_step_poss, std::ostream &out, const std::string &leading_str) const
Called by Algorithm::print_algorithm() to print out what this step does in Matlab like format...
virtual bool do_step(Algorithm &algo, poss_type step_poss, EDoStepType type, poss_type assoc_step_poss)=0
Called by Algorithm to perform a main, pre or post step at step_poss and assoc_step_poss.
virtual void initialize_step(Algorithm &algo, poss_type step_poss, EDoStepType type, poss_type assoc_step_poss)
Called by Algorithm just before the algorithm is run.
virtual void inform_updated(Algorithm &algo, poss_type step_poss, EDoStepType type, poss_type assoc_step_poss)
Called by Algorithm to inform when a runtime configuration change is finihed.
Acts as the central hub for an iterative algorithm.
virtual void finalize_step(Algorithm &algo, poss_type step_poss, EDoStepType type, poss_type assoc_step_poss)
Called by Algorithm just after an algorithm is terminiated.