![]() |
SG++-Doxygen-Documentation
|
Abstract super-class for refinement functors operating on multiple grids. More...
#include <MultiGridRefinementFunctor.hpp>
Public Member Functions | |
| virtual size_t | getNumGrids ()=0 |
| Returns the number of grids the functor can / does refine. More... | |
| virtual void | preComputeEvaluations () |
| Used if expensive computations (eg. More... | |
| virtual void | setGridIndex (size_t grid_index)=0 |
| Sets the index (into the vector of grids) of the grid to be refined. More... | |
| virtual | ~MultiGridRefinementFunctor () |
Public Member Functions inherited from sgpp::base::RefinementFunctor | |
| virtual size_t | getRefinementsNum () const |
| Returns the maximal number of points that should be refined. More... | |
| virtual double | getRefinementThreshold () const =0 |
| Returns the threshold for refinement. More... | |
| virtual double | getTotalRefinementValue (GridStorage &storage) const |
| Returns the total sum of local (error) indicators used for refinement. More... | |
| virtual double | operator() (GridStorage &storage, size_t seq) const =0 |
| This should be returning a refinement value for every grid point. More... | |
| RefinementFunctor () | |
| Constructor. More... | |
| virtual double | start () const =0 |
| Returns the lower bound of refinement criterion (e.g., alpha or error) (lower bound). More... | |
| virtual | ~RefinementFunctor () |
| Destructor. More... | |
Additional Inherited Members | |
Public Types inherited from sgpp::base::RefinementFunctor | |
| typedef double | value_type |
Abstract super-class for refinement functors operating on multiple grids.
|
inlinevirtual |
|
pure virtual |
Returns the number of grids the functor can / does refine.
Implemented in sgpp::datadriven::DataBasedRefinementFunctor, sgpp::datadriven::ZeroCrossingRefinementFunctor, sgpp::datadriven::GridPointBasedRefinementFunctor, and sgpp::datadriven::MultiSurplusRefinementFunctor.
|
inlinevirtual |
Used if expensive computations (eg.
grid evaluations) are cached, usually for one refinement step.
Reimplemented in sgpp::datadriven::ZeroCrossingRefinementFunctor, and sgpp::datadriven::GridPointBasedRefinementFunctor.
Referenced by sgpp::datadriven::RefinementHandler::handleDataAndZeroBasedRefinement(), sgpp::datadriven::ModelFittingClassification::refine(), and sgpp::datadriven::LearnerSGDE::trainOnline().
|
pure virtual |
Sets the index (into the vector of grids) of the grid to be refined.
| grid_index | The index of the grid to be refined |
Implemented in sgpp::datadriven::DataBasedRefinementFunctor, sgpp::datadriven::ZeroCrossingRefinementFunctor, sgpp::datadriven::GridPointBasedRefinementFunctor, and sgpp::datadriven::MultiSurplusRefinementFunctor.
Referenced by sgpp::datadriven::RefinementHandler::handleDataAndZeroBasedRefinement(), sgpp::datadriven::ModelFittingClassification::refine(), and sgpp::datadriven::LearnerSGDE::trainOnline().