SG++-Doxygen-Documentation
|
DBMatOffline specialization as a base class for all algorithms based on gaussian elimination on a dense matrix. More...
#include <DBMatOfflineGE.hpp>
Public Member Functions | |
void | buildMatrix (Grid *grid, RegularizationConfiguration ®ularizationConfig) override |
Builds the right hand side matrix with identity regularization term. More... | |
DBMatOfflineGE (const std::string &fileName) | |
Public Member Functions inherited from sgpp::datadriven::DBMatOffline | |
virtual DBMatOffline * | clone ()=0 |
Interface for the clone idiom. 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 (RegularizationConfiguration ®ularizationConfig, DensityEstimationConfiguration &densityEstimationConfig)=0 |
Decomposes the matrix according to the chosen decomposition type. More... | |
DataMatrix & | getDecomposedMatrix () |
Get a reference to the decomposed matrix. More... | |
virtual sgpp::datadriven::MatrixDecompositionType | getDecompositionType ()=0 |
Returns the decomposition type of the DBMatOffline object. More... | |
virtual size_t | getGridSize () |
Returns the dimensionality of the quadratic lhs matrix (i.e. More... | |
DataMatrix & | getLhsMatrix_ONLY_FOR_TESTING () |
Allows access to lhs matrix, which is meant ONLY FOR TESTING. More... | |
virtual bool | isRefineable ()=0 |
Only Offline objects based on Cholesky decomposition, or orthogonal adaptivity can be refined. More... | |
DBMatOffline & | operator= (const DBMatOffline &rhs) |
Default copy assign operator. More... | |
DBMatOffline & | operator= (DBMatOffline &&rhs)=default |
Default move assign operator. More... | |
void | printMatrix () |
Prints the matrix onto standard output. 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 | 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 | |
bool | isConstructed |
bool | isDecomposed |
DataMatrix | lhsMatrix |
DBMatOffline specialization as a base class for all algorithms based on gaussian elimination on a dense matrix.
|
explicit |
|
protected |
|
overridevirtual |
Builds the right hand side matrix with identity regularization term.
grid | The grid object the matrix is based on |
regularizationConfig | Configures the regularization which is incorporated into the lhs |
Reimplemented from sgpp::datadriven::DBMatOffline.
References sgpp::base::DataMatrix::add(), sgpp::datadriven::DBMatOffline::buildMatrix(), sgpp::base::HashGridStorage::getSize(), sgpp::base::Grid::getStorage(), python.statsfileInfo::i, sgpp::datadriven::Identity, sgpp::datadriven::DBMatOffline::isConstructed, sgpp::datadriven::RegularizationConfiguration::lambda_, sgpp::datadriven::DBMatOffline::lhsMatrix, sgpp::base::DataMatrix::set(), sgpp::base::DataMatrix::setAll(), and sgpp::datadriven::RegularizationConfiguration::type_.