SG++-Doxygen-Documentation
sgpp::combigrid::AdaptiveRefinementStrategy Class Reference

This class is a helper class to configure some adaptive refinement methods. More...

#include <AdaptiveRefinementStrategy.hpp>

Public Types

typedef std::function< double(std::vector< double > const &, size_t)> priority_function
 

Public Member Functions

 AdaptiveRefinementStrategy (priority_function func)
 
double computePriority (std::vector< double > const &predecessorNorms, size_t numNewPoints)
 

Static Public Member Functions

static AdaptiveRefinementStrategy arithmeticMeanStrategy ()
 
static AdaptiveRefinementStrategy geometricMeanStrategy ()
 
static AdaptiveRefinementStrategy maxStrategy ()
 
static AdaptiveRefinementStrategy minStrategy ()
 

Detailed Description

This class is a helper class to configure some adaptive refinement methods.

More precisely, it implements some kind of averaging scores of predecessor levels. Standard averaging techniques are already implemented in static methods.

Member Typedef Documentation

typedef std::function<double(std::vector<double> const &, size_t)> sgpp::combigrid::AdaptiveRefinementStrategy::priority_function

Constructor & Destructor Documentation

sgpp::combigrid::AdaptiveRefinementStrategy::AdaptiveRefinementStrategy ( priority_function  func)
explicit

Member Function Documentation

AdaptiveRefinementStrategy sgpp::combigrid::AdaptiveRefinementStrategy::arithmeticMeanStrategy ( )
static
double sgpp::combigrid::AdaptiveRefinementStrategy::computePriority ( std::vector< double > const &  predecessorNorms,
size_t  numNewPoints 
)
AdaptiveRefinementStrategy sgpp::combigrid::AdaptiveRefinementStrategy::geometricMeanStrategy ( )
static
AdaptiveRefinementStrategy sgpp::combigrid::AdaptiveRefinementStrategy::maxStrategy ( )
static
AdaptiveRefinementStrategy sgpp::combigrid::AdaptiveRefinementStrategy::minStrategy ( )
static

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