SG++-Doxygen-Documentation
|
#include <AbstractFullGridSummationStrategy.hpp>
Public Member Functions | |
AbstractFullGridSummationStrategy (std::shared_ptr< AbstractCombigridStorage > storage, std::vector< std::shared_ptr< AbstractLinearEvaluator< V >>> evaluatorPrototypes, std::vector< std::shared_ptr< AbstractPointHierarchy >> pointHierarchies) | |
Constructor. More... | |
virtual V | eval (MultiIndex const &level)=0 |
void | setParameters (std::vector< V > const ¶ms) |
Sets the parameters for the evaluators. More... | |
virtual | ~AbstractFullGridSummationStrategy () |
Protected Attributes | |
std::vector< std::vector< V > > | basisValues |
For each dimension, this contains a vector of weights which are used as coefficients for linearly combining the function values at different grid points. More... | |
std::vector< std::shared_ptr< AbstractLinearEvaluator< V > > > | evaluatorPrototypes |
std::vector< std::vector< std::shared_ptr< AbstractLinearEvaluator< V > > > > | evaluators |
std::vector< V > | parameters |
std::vector< V > | partialProducts |
std::vector< std::shared_ptr< AbstractPointHierarchy > > | pointHierarchies |
std::shared_ptr< AbstractCombigridStorage > | storage |
|
inline |
Constructor.
storage | Storage that stores and provides the function values for each grid point. |
evaluatorPrototypes | prototype objects for the evaluators that are cloned to get an evaluator for each dimension and each level. |
pointHierarchies | PointHierarchy objects for each dimension providing the points for each level and information about their ordering. |
|
inlinevirtual |
References level, and python.utils.pca_normalize_dataset::V.
|
pure virtual |
Implemented in sgpp::combigrid::FullGridVarianceSummationStrategy< V >, sgpp::combigrid::FullGridQuadraticSummationStrategy< V >, sgpp::combigrid::FullGridOptimizedPCESummationStrategy< V >, sgpp::combigrid::FullGridTensorVarianceSummationStrategy< V >, sgpp::combigrid::FullGridPCESummationStrategy< V >, and sgpp::combigrid::FullGridLinearSummationStrategy< V >.
Referenced by python.uq.analysis.asgc.ASGCAnalysis.ASGCAnalysis::estimateDensity().
|
inline |
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)
|
protected |
For each dimension, this contains a vector of weights which are used as coefficients for linearly combining the function values at different grid points.
Referenced by sgpp::combigrid::FullGridLinearSummationStrategy< V >::eval(), sgpp::combigrid::FullGridPCESummationStrategy< V >::eval(), and sgpp::combigrid::FullGridQuadraticSummationStrategy< V >::eval().
|
protected |
Referenced by sgpp::combigrid::FullGridLinearSummationStrategy< V >::eval(), sgpp::combigrid::FullGridTensorVarianceSummationStrategy< V >::eval(), sgpp::combigrid::FullGridQuadraticSummationStrategy< V >::eval(), sgpp::combigrid::FullGridVarianceSummationStrategy< V >::eval(), sgpp::combigrid::FullGridOptimizedPCESummationStrategy< V >::FullGridOptimizedPCESummationStrategy(), and sgpp::combigrid::FullGridPCESummationStrategy< V >::FullGridPCESummationStrategy().
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by sgpp::combigrid::FullGridLinearSummationStrategy< V >::eval(), sgpp::combigrid::FullGridPCESummationStrategy< V >::eval(), sgpp::combigrid::FullGridTensorVarianceSummationStrategy< V >::eval(), sgpp::combigrid::FullGridOptimizedPCESummationStrategy< V >::eval(), sgpp::combigrid::FullGridQuadraticSummationStrategy< V >::eval(), sgpp::combigrid::FullGridVarianceSummationStrategy< V >::eval(), sgpp::combigrid::FullGridOptimizedPCESummationStrategy< V >::FullGridOptimizedPCESummationStrategy(), and sgpp::combigrid::FullGridPCESummationStrategy< V >::FullGridPCESummationStrategy().
|
protected |
Referenced by sgpp::combigrid::FullGridLinearSummationStrategy< V >::eval(), sgpp::combigrid::FullGridPCESummationStrategy< V >::eval(), sgpp::combigrid::FullGridTensorVarianceSummationStrategy< V >::eval(), sgpp::combigrid::FullGridOptimizedPCESummationStrategy< V >::eval(), sgpp::combigrid::FullGridQuadraticSummationStrategy< V >::eval(), and sgpp::combigrid::FullGridVarianceSummationStrategy< V >::eval().