Class IterativeAlgorithmController¶
Defined in File iterative_algorithm_controller.h
Class Documentation¶
-
class IterativeAlgorithmController¶
Controller for iterative algorithms.
Public Functions
-
IterativeAlgorithmController(const IterativeAlgorithmController&) = default¶
Copy constructor.
-
IterativeAlgorithmController(IterativeAlgorithmController&&) = default¶
Move copy constructor.
-
IterativeAlgorithmController &operator=(const IterativeAlgorithmController&) = default¶
copy assignement
-
IterativeAlgorithmController &operator=(IterativeAlgorithmController&&) = default¶
move copy assignement
-
~IterativeAlgorithmController() = default¶
Destructor.
-
bool continue_iterations()¶
Returns true if the iterations of the algorithm should be continued.
-
inline bool show_iterations() const¶
show iterations
-
inline bool track_residuals() const¶
track_residuals
- Returns:
-
inline void set_show_iterations_flag(bool flag)¶
show iterations
-
inline void set_track_residuals_flag(bool flag)¶
set_track_residuals_flag
- Parameters:
flag –
-
IterativeAlgorithmResult get_state() const¶
Returns the state of the controller.
-
void reset(const IterativeAlgorithmController &control)¶
reset
-
void reset()¶
reset
-
IterativeAlgorithmController(const IterativeAlgorithmController&) = default¶