[−][src]Trait argmin_core::ArgminIter
Main part of every solver: next_iter
computes one iteration of the algorithm and init
is
executed before these iterations. The init
method comes with a default implementation which
corresponds to doing nothing.
Associated Types
Loading content...Required methods
fn next_iter(&mut self) -> Result<ArgminIterData<Self::Param>, Error>
Computes one iteration of the algorithm.
Provided methods
fn init(&mut self) -> Result<(), Error>
Initializes the algorithm
This is executed before any iterations are performed. It can be used to perform precomputations. The default implementation corresponds to doing nothing.