SG++-Doxygen-Documentation
|
Base class for density multiplication operation. More...
#include <OperationDensityOCL.hpp>
Public Member Functions | |
virtual void | finalize_rhs_generation (sgpp::base::DataVector &b, size_t start_id, size_t chunksize)=0 |
virtual void | finish_partial_mult (double *result, int start_id, int chunksize)=0 |
virtual void | generateb (base::DataMatrix &dataset, sgpp::base::DataVector &b, size_t start_id=0, size_t chunksize=0)=0 |
Generates the right hand side vector for the density equation. More... | |
virtual void | initialize_alpha (double *alpha)=0 |
Use before calling partial_mult directly. More... | |
virtual void | initialize_dataset (base::DataMatrix &dataset)=0 |
virtual void | mult (base::DataVector &alpha, base::DataVector &result)=0 |
Execute one matrix-vector multiplication with the density matrix. More... | |
OperationDensity () | |
virtual void | start_partial_mult (int start_id, int chunksize)=0 |
Execute a partial (startindex to startindex+chunksize) multiplication with the density matrix. More... | |
virtual void | start_rhs_generation (size_t start_id, size_t chunksize)=0 |
Public Member Functions inherited from sgpp::base::OperationMatrix | |
OperationMatrix () | |
Constructor. More... | |
virtual | ~OperationMatrix () |
Destructor. More... | |
Static Public Member Functions | |
static void | load_default_parameters (base::OCLOperationConfiguration *parameters) |
Generate the default parameters in die json configuration. More... | |
Base class for density multiplication operation.
|
inline |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Generates the right hand side vector for the density equation.
Implemented in sgpp::datadriven::DensityOCLMultiPlatform::OperationDensityOCLMultiPlatform< T >.
Referenced by sgpp::datadriven::ClusteringOCL::OperationClusteringOCL< T >::calculate_clusters(), main(), and OperationDensity().
|
pure virtual |
Use before calling partial_mult directly.
Implemented in sgpp::datadriven::DensityOCLMultiPlatform::OperationDensityOCLMultiPlatform< T >.
Referenced by OperationDensity(), and sgpp::datadriven::clusteringmpi::DensityWorker::receive_and_send_initial_data().
|
pure virtual |
|
inlinestatic |
Generate the default parameters in die json configuration.
References json::DictNode::addIDAttr(), sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityB< T >::augmentDefaultParameters(), sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityMult< T >::augmentDefaultParameters(), and json::DictNode::contains().
Referenced by sgpp::datadriven::createDensityOCLMultiPlatformConfigured().
|
pure virtual |
Execute one matrix-vector multiplication with the density matrix.
Implements sgpp::base::OperationMatrix.
Implemented in sgpp::datadriven::DensityOCLMultiPlatform::OperationDensityOCLMultiPlatform< T >.
Referenced by OperationDensity().
|
pure virtual |
Execute a partial (startindex to startindex+chunksize) multiplication with the density matrix.
Implemented in sgpp::datadriven::DensityOCLMultiPlatform::OperationDensityOCLMultiPlatform< T >.
Referenced by sgpp::datadriven::clusteringmpi::DensityWorker::begin_opencl_operation(), and OperationDensity().
|
pure virtual |