SG++-Doxygen-Documentation
|
Abstract class that defines a solver used in Sparse Grids Applications. More...
#include <SGSolver.hpp>
Public Member Functions | |
double | 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... | |
double | getResiduum () |
function the returns the residuum (current or final), error of the solver More... | |
void | setEpsilon (double eps) |
resets the epsilon, that is used in the SGSolver More... | |
void | setMaxIterations (size_t nIterations) |
resets the number of maximum iterations More... | |
SGSolver (size_t nMaximumIterations, double epsilon) | |
Std-Constructor. More... | |
virtual | ~SGSolver () |
Std-Destructor. More... | |
Protected Attributes | |
double | 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... | |
double | 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::solver::AdamsBashforth::solve(), sgpp::solver::CrankNicolson::solve(), sgpp::solver::Euler::solve(), sgpp::solver::StepsizeControl::solve(), and sgpp::datadriven::LearnerBase::train().
|
inline |
function the returns the residuum (current or final), error of the solver
References residuum.
Referenced by sgpp::solver::AdamsBashforth::solve(), sgpp::solver::CrankNicolson::solve(), sgpp::solver::Euler::solve(), sgpp::solver::StepsizeControl::solve(), sgpp::datadriven::LearnerBase::train(), sgpp::datadriven::LearnerSGDE::train(), and sgpp::datadriven::SparseGridDensityEstimator::train().
|
inline |
resets the epsilon, that is used in the SGSolver
eps | the new value of epsilon |
References friedman::eps.
Referenced by sgpp::datadriven::ModelFittingBase::reconfigureSolver(), and sgpp::datadriven::LearnerBase::train().
|
inline |
resets the number of maximum iterations
nIterations | the new number of maximum iterations |
References nIterations.
Referenced by sgpp::datadriven::ModelFittingBase::reconfigureSolver(), python.learner.solver.CGSolver.CGSolver::setImax(), and sgpp::datadriven::LearnerBase::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::ConjugateGradients::solve(), sgpp::solver::BiCGStab::solve(), and sgpp::solver::StepsizeControl::solve().
|
protected |
Number of Iterations needed for the solve.
Referenced by getNumberIterations(), setMaxIterations(), sgpp::solver::ConjugateGradients::solve(), sgpp::solver::BiCGStab::solve(), sgpp::solver::AdamsBashforth::solve(), sgpp::solver::CrankNicolson::solve(), and sgpp::solver::Euler::solve().
|
protected |
Number of maximum iterations for cg.
Referenced by python.learner.solver.CGSolver.CGSolver::getImax(), sgpp::solver::ConjugateGradients::solve(), sgpp::solver::BiCGStab::solve(), sgpp::solver::AdamsBashforth::solve(), sgpp::solver::CrankNicolson::solve(), sgpp::solver::Euler::solve(), and sgpp::solver::StepsizeControl::solve().
|
protected |
residuum
Referenced by sgpp::solver::AdamsBashforth::AdamsBashforth(), sgpp::solver::CrankNicolson::CrankNicolson(), sgpp::solver::Euler::Euler(), getResiduum(), sgpp::solver::ConjugateGradients::solve(), sgpp::solver::BiCGStab::solve(), sgpp::solver::StepsizeControl::StepsizeControl(), and sgpp::solver::StepsizeControlH::StepsizeControlH().