SG++-Doxygen-Documentation
|
Abstract class that defines a solver used in Sparse Grids Applications. More...
#include <SGSolverSP.hpp>
Public Member Functions | |
float | getEpsilon () |
gets the the epsilon, that is used in the SGSolver More... | |
size_t | getNumberIterations () |
function that returns the number of needed solve steps More... | |
float | getResiduum () |
function the returns the residuum (current or final), error of the solver More... | |
void | setEpsilon (float eps) |
resets the epsilon, that is used in the SGSolver More... | |
void | setMaxIterations (size_t nIterations) |
resets the number of maximum iterations More... | |
SGSolverSP (size_t nMaximumIterations, float epsilon) | |
Std-Constructor. More... | |
virtual | ~SGSolverSP () |
Std-Destructor. More... | |
Protected Attributes | |
float | myEpsilon |
epsilon needed in the, e.g. final error in the iterative solver, or a timestep More... | |
size_t | nIterations |
Number of Iterations needed for the solve. More... | |
size_t | nMaxIterations |
Number of maximum iterations for cg. More... | |
float | residuum |
residuum More... | |
Abstract class that defines a solver used in Sparse Grids Applications.
|
inline |
Std-Constructor.
nMaximumIterations | number of maximum executed iterations |
epsilon | the final error in the iterative solver, or the size of one timestep |
|
inlinevirtual |
Std-Destructor.
|
inline |
|
inline |
function that returns the number of needed solve steps
References nIterations.
Referenced by sgpp::datadriven::LearnerBaseSP::train().
|
inline |
function the returns the residuum (current or final), error of the solver
References residuum.
Referenced by sgpp::datadriven::LearnerBaseSP::train().
|
inline |
resets the epsilon, that is used in the SGSolver
eps | the new value of epsilon |
References friedman::eps.
Referenced by sgpp::datadriven::LearnerBaseSP::train().
|
inline |
resets the number of maximum iterations
nIterations | the new number of maximum iterations |
References nIterations.
Referenced by python.learner.solver.CGSolver.CGSolver::setImax(), and sgpp::datadriven::LearnerBaseSP::train().
|
protected |
epsilon needed in the, e.g. final error in the iterative solver, or a timestep
Referenced by python.learner.solver.CGSolver.CGSolver::getEpsilon(), getEpsilon(), sgpp::solver::BiCGStabSP::solve(), and sgpp::solver::ConjugateGradientsSP::solve().
|
protected |
Number of Iterations needed for the solve.
Referenced by getNumberIterations(), setMaxIterations(), sgpp::solver::BiCGStabSP::solve(), and sgpp::solver::ConjugateGradientsSP::solve().
|
protected |
Number of maximum iterations for cg.
Referenced by python.learner.solver.CGSolver.CGSolver::getImax(), sgpp::solver::BiCGStabSP::solve(), and sgpp::solver::ConjugateGradientsSP::solve().
|
protected |
residuum
Referenced by getResiduum(), sgpp::solver::BiCGStabSP::solve(), and sgpp::solver::ConjugateGradientsSP::solve().