SG++-Doxygen-Documentation
|
#include <AbstractFullGridEvaluationStrategy.hpp>
Public Member Functions | |
AbstractFullGridEvaluationStrategy (std::shared_ptr< AbstractCombigridStorage > storage, std::vector< std::shared_ptr< AbstractLinearEvaluator< V >>> evaluatorPrototypes, std::vector< std::shared_ptr< AbstractPointHierarchy >> pointHierarchies, FullGridSummationStrategyType summationStrategyType) | |
std::vector< std::shared_ptr< AbstractLinearEvaluator< V > > > | getEvaluatorPrototypes () |
FullGridSummationStrategyType | getSummationStrategyType () |
void | setParameters (std::vector< V > const ¶ms) |
Sets the parameters for the evaluators. More... | |
virtual | ~AbstractFullGridEvaluationStrategy () |
Public Member Functions inherited from sgpp::combigrid::AbstractFullGridEvaluator< V > | |
AbstractFullGridEvaluator (std::shared_ptr< AbstractCombigridStorage > storage, std::vector< std::shared_ptr< AbstractPointHierarchy >> pointHierarchies) | |
Constructor. More... | |
virtual V | eval (MultiIndex const &level)=0 |
Evaluates the function given through the storage for a certain level-multi-index (see class description). More... | |
virtual std::vector< base::DataVector > | getGridPoints (MultiIndex const &level) |
virtual std::vector< ThreadPool::Task > | getLevelTasks (MultiIndex const &level, ThreadPool::Task callback)=0 |
std::shared_ptr< AbstractCombigridStorage > | getStorage () |
virtual std::shared_ptr< TensorGrid > | getTensorGrid (MultiIndex const &level, std::vector< bool > orderingConfiguration) |
virtual size_t | maxNewPoints (MultiIndex const &level) |
virtual size_t | numPoints (MultiIndex const &level) |
virtual void | setMutex (std::shared_ptr< std::recursive_mutex > mutexPtr) |
Updates the current mutex. More... | |
virtual | ~AbstractFullGridEvaluator () |
Protected Attributes | |
std::vector< std::shared_ptr< AbstractLinearEvaluator< V > > > | evaluatorPrototypes |
std::shared_ptr< AbstractFullGridSummationStrategy< V > > | summationStrategy |
FullGridSummationStrategyType | summationStrategyType |
Protected Attributes inherited from sgpp::combigrid::AbstractFullGridEvaluator< V > | |
std::shared_ptr< std::recursive_mutex > | mutexPtr |
Pointer to a mutex that is locked when doing critical operations on data. More... | |
std::vector< std::shared_ptr< AbstractPointHierarchy > > | pointHierarchies |
std::shared_ptr< AbstractCombigridStorage > | storage |
Provides access to the function values (stored or computed on demand) More... | |
|
inline |
References sgpp::combigrid::AbstractFullGridEvaluationStrategy< V >::evaluatorPrototypes, sgpp::combigrid::FULLSUBSPACEDPCE, sgpp::combigrid::LINEAR, sgpp::combigrid::ONEDSUBSPACEPCE, sgpp::combigrid::AbstractFullGridEvaluator< V >::pointHierarchies, sgpp::combigrid::QUADRATIC, sgpp::combigrid::AbstractFullGridEvaluator< V >::storage, sgpp::combigrid::AbstractFullGridEvaluationStrategy< V >::summationStrategy, sgpp::combigrid::TENSORVARIANCE, and sgpp::combigrid::VARIANCE.
|
inlinevirtual |
|
inline |
|
inline |
|
inlinevirtual |
Sets the parameters for the evaluators.
Each dimension in which the evaluator does not need a parameter is skipped. So if only the evaluators at dimensions 1 and 3 need a parameter, params.size() should be 2 (or at least 2)
Implements sgpp::combigrid::AbstractFullGridEvaluator< V >.
References sgpp::combigrid::AbstractFullGridEvaluationStrategy< V >::summationStrategy.
|
protected |
Referenced by sgpp::combigrid::AbstractFullGridEvaluationStrategy< V >::AbstractFullGridEvaluationStrategy(), sgpp::combigrid::FullGridGridBasedEvaluator< V >::addResults(), sgpp::combigrid::FullGridGridBasedEvaluator< V >::eval(), sgpp::combigrid::AbstractFullGridEvaluationStrategy< V >::getEvaluatorPrototypes(), and sgpp::combigrid::FullGridGridBasedEvaluator< V >::getLevelTasks().
|
protected |
Referenced by sgpp::combigrid::AbstractFullGridEvaluationStrategy< V >::AbstractFullGridEvaluationStrategy(), sgpp::combigrid::FullGridCallbackEvaluator< V >::eval(), sgpp::combigrid::FullGridGridBasedEvaluator< V >::eval(), and sgpp::combigrid::AbstractFullGridEvaluationStrategy< V >::setParameters().
|
protected |