#include <DBMatObjectStore.hpp>
|
| DBMatObjectStore () |
| Default constructor.
|
|
| DBMatObjectStore (const std::string &fileName) |
| Constructor with path to database file.
|
|
const DBMatOfflinePermutable * | getBaseObject (const sgpp::base::GeneralGridConfiguration &gridConfig, const sgpp::datadriven::GeometryConfiguration &geometryConfig, const sgpp::base::AdaptivityConfiguration &adaptivityConfig, const sgpp::datadriven::RegularizationConfiguration ®ularizationConfig, const sgpp::datadriven::DensityEstimationConfiguration &densityEstimationConfig, sgpp::base::GeneralGridConfiguration &baseGridConfig) |
| Returns a suitable base object for the permutation and blow-up approach.
|
|
const DBMatOffline * | getObject (const sgpp::base::GeneralGridConfiguration &gridConfig, const sgpp::datadriven::GeometryConfiguration &geometryConfig, const sgpp::base::AdaptivityConfiguration &adaptivityConfig, const sgpp::datadriven::RegularizationConfiguration ®ularizationConfig, const sgpp::datadriven::DensityEstimationConfiguration &densityEstimationConfig) |
| Returns an identical offline object to the specified configuration.
|
|
void | putObject (const sgpp::base::GeneralGridConfiguration &gridConfig, const sgpp::datadriven::GeometryConfiguration &geometryConfig, const sgpp::base::AdaptivityConfiguration &adaptivityConfig, const sgpp::datadriven::RegularizationConfiguration ®ularizationConfig, const sgpp::datadriven::DensityEstimationConfiguration &densityEstimationConfig, const DBMatOffline *object) |
| Stores a given offline object together with its configuration in the object store.
|
|
◆ DBMatObjectStore() [1/2]
sgpp::datadriven::DBMatObjectStore::DBMatObjectStore |
( |
| ) |
|
◆ DBMatObjectStore() [2/2]
sgpp::datadriven::DBMatObjectStore::DBMatObjectStore |
( |
const std::string & |
fileName | ) |
|
|
explicit |
Constructor with path to database file.
- Parameters
-
◆ getBaseObject()
◆ getObject()
◆ getObjectContainer()
◆ getObjectContainerIndex()
Returns the index to a suitable offline object.
If searchBase = true, a suitable base object for the permutation and blow-up approach is searched for. If no suitable object exists, SIZE_MAX is returned.
- Parameters
-
gridConfig | Grid configuration |
geometryConfig | Geometry configuration for geometry aware sparse grids |
adaptivityConfig | Adaptivity configuration |
regularizationConfig | Regularization configuration |
densityEstimationConfig | Density estimation configuration |
searchBase | Flag to specify whether an identical offline object or a suitable base object is to be searched |
- Returns
- int
References adaptivityConfig, and objects.
Referenced by getBaseObject(), and getObject().
◆ putObject()
Stores a given offline object together with its configuration in the object store.
- Parameters
-
gridConfig | Grid configuration |
geometryConfig | Geometry configuration for geometry aware sparse grids |
adaptivityConfig | Adaptivity configuration |
regularizationConfig | Regularization configuration |
densityEstimationConfig | Density estimation configuration |
object | The object to be stored |
References adaptivityConfig, and objects.
◆ dbFilePath
std::string sgpp::datadriven::DBMatObjectStore::dbFilePath |
|
protected |
◆ hasDatabase
bool sgpp::datadriven::DBMatObjectStore::hasDatabase |
|
protected |
◆ objects
The documentation for this class was generated from the following files: