sgpp::combigrid::AbstractFullGridEvaluationStrategy< V > Class Template Reference

#include <AbstractFullGridEvaluationStrategy.hpp>

Inheritance diagram for sgpp::combigrid::AbstractFullGridEvaluationStrategy< V >:
sgpp::combigrid::AbstractFullGridEvaluator< V > sgpp::combigrid::FullGridCallbackEvaluator< V > sgpp::combigrid::FullGridGridBasedEvaluator< V >

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 &params)
 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::DataVectorgetGridPoints (MultiIndex const &level)
virtual std::vector< ThreadPool::TaskgetLevelTasks (MultiIndex const &level, ThreadPool::Task callback)=0
std::shared_ptr< AbstractCombigridStoragegetStorage ()
virtual std::shared_ptr< TensorGridgetTensorGrid (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< AbstractCombigridStoragestorage
 Provides access to the function values (stored or computed on demand) More...

Constructor & Destructor Documentation

template<typename V >
virtual sgpp::combigrid::AbstractFullGridEvaluationStrategy< V >::~AbstractFullGridEvaluationStrategy ( )

Member Function Documentation

template<typename V >
std::vector<std::shared_ptr<AbstractLinearEvaluator<V> > > sgpp::combigrid::AbstractFullGridEvaluationStrategy< V >::getEvaluatorPrototypes ( )
template<typename V >
void sgpp::combigrid::AbstractFullGridEvaluationStrategy< V >::setParameters ( std::vector< V > const &  params)

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.

Member Data Documentation

The documentation for this class was generated from the following file: