SG++-Doxygen-Documentation
|
Factory class to create grids based on a configuration file. More...
#include <GridFactory.hpp>
Public Member Functions | |
sgpp::base::Grid * | createGrid (sgpp::base::GeneralGridConfiguration &gridConfig, std::vector< std::vector< size_t >> interactions) const |
Creates and initializes a grid based on a configuration file. More... | |
Factory class to create grids based on a configuration file.
sgpp::base::Grid * sgpp::datadriven::GridFactory::createGrid | ( | sgpp::base::GeneralGridConfiguration & | gridConfig, |
std::vector< std::vector< size_t >> | interactions | ||
) | const |
Creates and initializes a grid based on a configuration file.
gridConfig | the grid configuration |
interactions | the interactions for each dimension |
References sgpp::base::Grid::createLinearGrid(), sgpp::base::Grid::createModLinearGrid(), sgpp::base::GeneralGridConfiguration::dim_, sgpp::base::GeneralGridConfiguration::generalType_, sgpp::base::GeometryAwareSparseGrid, sgpp::base::Grid::getGenerator(), grid(), sgpp::base::GeneralGridConfiguration::level_, sgpp::base::GridGenerator::regular(), sgpp::base::GridGenerator::regularInter(), and sgpp::base::GeneralGridConfiguration::type_.
Referenced by sgpp::datadriven::LearnerSGDEOnOffParallel::LearnerSGDEOnOffParallel().