numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
|
Class to incorporate num_collect::logging::iterations::iteration_logger in algorithms. More...
#include <num_collect/logging/iterations/iteration_logger_mixin.h>
Public Member Functions | |
iteration_logger_mixin ()=default | |
Constructor. | |
void | configure_iteration_logger (num_collect::logging::iterations::iteration_logger< Derived > &iteration_logger) const |
Configure an iteration logger. | |
auto | initialize_iteration_logger () -> num_collect::logging::iterations::iteration_logger< Derived > & |
Get the iteration logger. | |
Private Attributes | |
std::optional< num_collect::logging::iterations::iteration_logger< Derived > > | iteration_logger_ {} |
Iteration logger. | |
Class to incorporate num_collect::logging::iterations::iteration_logger in algorithms.
Inherit this class to use num_collect::logging::iterations::iteration_logger with the common interface.
Derived | Derived class. |
Definition at line 38 of file iteration_logger_mixin.h.
|
inline |
Configure an iteration logger.
[in] | iteration_logger | Iteration logger. |
Definition at line 50 of file iteration_logger_mixin.h.
|
inline |
Get the iteration logger.
Definition at line 64 of file iteration_logger_mixin.h.
|
private |
Iteration logger.
Definition at line 78 of file iteration_logger_mixin.h.