![]() |
SG++-Doxygen-Documentation
|
#include <CombiScheme.hpp>
Public Member Functions | |
CombiScheme () | |
Empty Constructor. | |
std::vector< std::pair< std::vector< size_t >, int > > | getCombiScheme () |
return the combigrid scheme (levelvectors of the components and their coefficients) | |
void | initialize (size_t dim, size_t level) |
Initialize the combigrid scheme. | |
bool | isRefinable (std::vector< size_t > levelvec) |
check if the component of levelvec is refinable | |
bool | refineComponent (std::vector< size_t > levelvec) |
update the scheme by component of levelvec | |
|
inline |
Empty Constructor.
std::vector< std::pair< std::vector< size_t >, int > > sgpp::datadriven::CombiScheme::getCombiScheme | ( | ) |
return the combigrid scheme (levelvectors of the components and their coefficients)
Referenced by sgpp::datadriven::ModelFittingDensityEstimationCombi::adapt(), and sgpp::datadriven::ModelFittingDensityEstimationCombi::fit().
void sgpp::datadriven::CombiScheme::initialize | ( | size_t | dim, |
size_t | level | ||
) |
Initialize the combigrid scheme.
dim | dimension |
level | level |
References level.
Referenced by sgpp::datadriven::ModelFittingDensityEstimationCombi::fit().
bool sgpp::datadriven::CombiScheme::isRefinable | ( | std::vector< size_t > | levelvec | ) |
check if the component of levelvec is refinable
levelvec | vector for the component in question |
Referenced by sgpp::datadriven::ModelFittingDensityEstimationCombi::adapt(), and refineComponent().
bool sgpp::datadriven::CombiScheme::refineComponent | ( | std::vector< size_t > | levelvec | ) |
update the scheme by component of levelvec
levelvec | vector for the component in question |
References isRefinable().
Referenced by sgpp::datadriven::ModelFittingDensityEstimationCombi::adapt().