SG++
sgpp::datadriven::DBMatOfflineGE Class Reference

DBMatOffline specialization as a base class for all algorithms based on gaussian elimination on a dense matrix. More...

#include <DBMatOfflineGE.hpp>

Inheritance diagram for sgpp::datadriven::DBMatOfflineGE:
sgpp::datadriven::DBMatOffline sgpp::datadriven::DBMatOfflineChol sgpp::datadriven::DBMatOfflineDenseIChol

Public Member Functions

void buildMatrix () override
 Builds the right hand side matrix with identity regularization term. More...
 
 DBMatOfflineGE (const sgpp::base::RegularGridConfiguration &gridConfig, const sgpp::base::AdpativityConfiguration &adaptivityConfig, const sgpp::datadriven::RegularizationConfiguration &regularizationConfig, const sgpp::datadriven::DensityEstimationConfiguration &densityEstimationConfig)
 
 DBMatOfflineGE (const std::string &fileName)
 
- Public Member Functions inherited from sgpp::datadriven::DBMatOffline
virtual DBMatOfflineclone ()=0
 Interface for the clone idiom. More...
 
 DBMatOffline (const sgpp::base::RegularGridConfiguration &gridConfig, const sgpp::base::AdpativityConfiguration &adaptivityConfig, const sgpp::datadriven::RegularizationConfiguration &regularizationConfig, const sgpp::datadriven::DensityEstimationConfiguration &densityEstimationConfig)
 Constructor Build DBMatOffline Object from configuration. More...
 
 DBMatOffline (const std::string &fileName)
 Constructor Create offline object from serialized offline object. More...
 
 DBMatOffline (const DBMatOffline &rhs)
 Copy Constructor. More...
 
 DBMatOffline (DBMatOffline &&rhs)=default
 Default move constructor. More...
 
virtual void decomposeMatrix ()=0
 Decomposes the matrix according to the chosen decomposition type. More...
 
sgpp::base::AdpativityConfigurationgetAdaptivityConfig ()
 Get a reference to the grid adaptivity configuration object. More...
 
DataMatrixgetDecomposedMatrix ()
 Get a reference to the decomposed matrix. More...
 
sgpp::datadriven::DensityEstimationConfigurationgetDensityEstimationConfig ()
 Get a reference to the matrix decomposition configuration object. More...
 
GridgetGrid ()
 Returns a reference to the sparse grid. More...
 
sgpp::base::RegularGridConfigurationgetGridConfig ()
 Get a reference to the grid configuration object. More...
 
DataMatrixgetLhsMatrix_ONLY_FOR_TESTING ()
 Allows access to lhs matrix, which is meant ONLY FOR TESTING. More...
 
sgpp::datadriven::RegularizationConfigurationgetRegularizationConfig ()
 Get a reference to the grid regularization configuration object. More...
 
virtual bool isRefineable ()=0
 Only Offline objects based on Cholesky decomposition, or orthogonal adaptivity can be refined. More...
 
DBMatOfflineoperator= (const DBMatOffline &rhs)
 Default copy assign operator. More...
 
DBMatOfflineoperator= (DBMatOffline &&rhs)=default
 Default move assign operator. More...
 
void printMatrix ()
 Prints the matrix onto standard output. More...
 
void setInter (std::vector< std::vector< size_t >> interactions)
 Sets interaction Term. More...
 
virtual void store (const std::string &fileName)
 Serialize the DBMatOffline Object. More...
 
virtual ~DBMatOffline ()=default
 Default virtual destructor. More...
 

Protected Member Functions

 DBMatOfflineGE ()
 
- Protected Member Functions inherited from sgpp::datadriven::DBMatOffline
 DBMatOffline ()
 
void InitializeGrid ()
 Build the initial sparse grid. More...
 
void parseConfig (const std::string &fileName, sgpp::base::RegularGridConfiguration &gridConfig, sgpp::base::AdpativityConfiguration &adaptivityConfig, sgpp::datadriven::RegularizationConfiguration &regularizationConfig, sgpp::datadriven::DensityEstimationConfiguration &densityEstimationConfig) const
 Read the configuration from a serialized DBMatOffline object. More...
 
void parseInter (const std::string &fileName, std::vector< std::vector< size_t >> &interactions) const
 Read the Interactionsterms from a serialized DBMatOfflibe object. More...
 

Additional Inherited Members

- Public Attributes inherited from sgpp::datadriven::DBMatOffline
std::vector< std::vector< size_t > > interactions
 
- Protected Attributes inherited from sgpp::datadriven::DBMatOffline
sgpp::base::AdpativityConfiguration adaptivityConfig
 
sgpp::datadriven::DensityEstimationConfiguration densityEstimationConfig
 
std::unique_ptr< Gridgrid
 An offline object works on a hierarchical basis grid. More...
 
sgpp::base::RegularGridConfiguration gridConfig
 
bool isConstructed
 
bool isDecomposed
 
DataMatrix lhsMatrix
 
sgpp::datadriven::RegularizationConfiguration regularizationConfig
 

Detailed Description

DBMatOffline specialization as a base class for all algorithms based on gaussian elimination on a dense matrix.

Constructor & Destructor Documentation

sgpp::datadriven::DBMatOfflineGE::DBMatOfflineGE ( const sgpp::base::RegularGridConfiguration gridConfig,
const sgpp::base::AdpativityConfiguration adaptivityConfig,
const sgpp::datadriven::RegularizationConfiguration regularizationConfig,
const sgpp::datadriven::DensityEstimationConfiguration densityEstimationConfig 
)
explicit
sgpp::datadriven::DBMatOfflineGE::DBMatOfflineGE ( const std::string &  fileName)
explicit
sgpp::datadriven::DBMatOfflineGE::DBMatOfflineGE ( )
protected

Member Function Documentation


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