Returns a offline object matching the specified configuration.
If the store contains a suitable base object, the permutation and blow-up approach is applied on a copy of the base object, which is then returned. If no suitable base object exists in the store, the factory builds a suitable object from scratch and stores it. If a database file is given, the database is searched for a base object, which is then again stored.
- Parameters
-
gridConfig | The desired grid configuration. |
geometryConfig | The desired geometry configuration. |
adaptivityConfig | The desired adaptivity configuration. |
regularizationConfig | The desired regularization configuration. |
densityEstimationConfig | The desired desnity estimation configuration. |
- Returns
- A offline object that matches the configuration.
References adaptivityConfig, sgpp::datadriven::DBMatOfflineFactory::buildFromFile(), sgpp::datadriven::DBMatOffline::buildMatrix(), sgpp::datadriven::DBMatOfflineFactory::buildOfflineObject(), sgpp::datadriven::DBMatOffline::clone(), sgpp::datadriven::GridFactory::createGrid(), dbFilePath, sgpp::datadriven::DBMatOffline::decomposeMatrix(), sgpp::base::GeneralGridConfiguration::dim_, sgpp::datadriven::DBMatDatabase::getBaseDataMatrix(), sgpp::datadriven::GridFactory::getInteractions(), sgpp::datadriven::PermutationUtil::getNormalizedConfig(), grid(), sgpp::datadriven::DBMatDatabase::hasBaseDataMatrix(), hasDataBase, sgpp::datadriven::DBMatOfflinePermutable::permuteDecomposition(), sgpp::datadriven::GeometryConfiguration::stencils_, and store.
Referenced by sgpp::datadriven::ModelFittingDensityEstimationOnOff::fit().