
const RealType &  getRelaxation () const 

void  setRelaxation (const RealType &lambda) 

bool  setup (const Config::ParameterContainer ¶meters, const std::string &prefix="") 

template<typename GradientGetter > 
bool  solve (VectorView &w, GradientGetter &&getGradient) 

 IterativeSolver ()=default 
 Default constructor.


bool  checkConvergence () 
 Checks whether the convergence occurred already.


bool  checkNextIteration () 
 Checks if the solver is allowed to do the next iteration.


const Real &  getConvergenceResidue () const 
 Gets the the convergence threshold.


const Real &  getDivergenceResidue () const 
 Gets the limit for the divergence criterion.


const Index &  getIterations () const 
 Gets the number of iterations performed by the solver so far.


const Index &  getMaxIterations () const 
 Gets the maximal number of iterations the solver is allowed to perform.


const Index &  getMinIterations () const 
 Gets the minimal number of iterations the solver is supposed to do.


const Real &  getResidue () const 
 Gets the residue reached at the current iteration.


bool  nextIteration () 
 Proceeds to the next iteration.


void  resetIterations () 
 Sets the the number of the current iterations to zero.


void  setConvergenceResidue (const Real &convergenceResidue) 
 Sets the threshold for the convergence.


void  setDivergenceResidue (const Real &divergenceResidue) 
 Sets the residue limit for the divergence criterion.


void  setMaxIterations (const Index &maxIterations) 
 Sets the maximal number of iterations the solver is allowed to perform.


void  setMinIterations (const Index &minIterations) 
 Sets the minimal number of iterations the solver is supposed to do.


void  setRefreshRate (const Index &refreshRate) 
 Sets the refresh rate (in milliseconds) for the solver monitor.


void  setResidue (const Real &residue) 
 Sets the residue reached at the current iteration.


void  setSolverMonitor (SolverMonitorType &solverMonitor) 
 Sets the solver monitor object.


bool  setup (const Config::ParameterContainer ¶meters, const std::string &prefix="") 
 Method for setup of the iterative solver based on configuration parameters.

