pub trait Observer<T, U> { // Required method fn callback(&mut self, step: usize, status: &Status<T>, user_data: &mut U); }
A trait which holds a callback function that can be used to check an Algorithm’s Status during a minimization.
callback
Algorithm
Status
A function that is called at every step of a minimization Algorithm.