|
KASKADE 7 development version
|
Base class for algorithms. Provides a unified interface and some simple wrapper routines, which perform optional timing, etc. More...
#include <algorithm_base.hh>
Base class for algorithms. Provides a unified interface and some simple wrapper routines, which perform optional timing, etc.
Definition at line 174 of file algorithm_base.hh.
Public Member Functions | |
| Algorithm () | |
| virtual | ~Algorithm () |
| void | performTiming (bool doit) |
| void | reportOnIteration (int level) |
Protected Member Functions | |
| virtual void | initialize () |
| virtual void | finalize (int) |
| virtual void | terminationMessage (int) |
| int | algorithmWrapper () |
| Run algorithm, completely with initialization and finalization. More... | |
| int | oneStepWrapper () |
| Run one step of algorithm. More... | |
Protected Attributes | |
| int | report |
|
inline |
Definition at line 178 of file algorithm_base.hh.
|
inlinevirtual |
Definition at line 179 of file algorithm_base.hh.
|
protected |
Run algorithm, completely with initialization and finalization.
|
inlineprotectedvirtual |
Reimplemented in Kaskade::SimpleAdaptiveRefinement, Kaskade::TestErrorEstimator, and Kaskade::NewtonsMethod.
Definition at line 186 of file algorithm_base.hh.
|
inlineprotectedvirtual |
Reimplemented in Kaskade::SimpleAdaptiveRefinement, Kaskade::TestErrorEstimator, Kaskade::HomotopyBase, Kaskade::InteriorPointSqrtModel, Kaskade::InteriorPointSlopeEstimate, Kaskade::NewtonsMethod, Kaskade::DampedCovariantNewtonMethod, and Kaskade::StateConstraintsNewtonMethod.
Definition at line 185 of file algorithm_base.hh.
|
protected |
Run one step of algorithm.
|
inline |
Definition at line 181 of file algorithm_base.hh.
|
inline |
Definition at line 182 of file algorithm_base.hh.
|
protectedvirtual |
|
protected |
Definition at line 193 of file algorithm_base.hh.
Referenced by reportOnIteration().