SG++-Doxygen-Documentation
sgpp::datadriven::DensityOCLMultiPlatform::OperationPruneGraphOCLMultiPlatform< T > Class Template Reference

Operation for density based graph pruning. More...

#include <OperationPruneGraphOCLMultiPlatform.hpp>

Inheritance diagram for sgpp::datadriven::DensityOCLMultiPlatform::OperationPruneGraphOCLMultiPlatform< T >:
sgpp::datadriven::DensityOCLMultiPlatform::OperationPruneGraphOCL

Public Member Functions

 OperationPruneGraphOCLMultiPlatform (base::Grid &grid, base::DataVector &alpha, base::DataMatrix &data, size_t dims, std::shared_ptr< base::OCLManagerMultiPlatform > manager, sgpp::base::OCLOperationConfiguration *parameters, T treshold, size_t k, size_t platform_id, size_t device_id)
 Constructor using a DataMatrix. More...
 
 OperationPruneGraphOCLMultiPlatform (int *gridpoints, size_t gridSize, size_t dimensions, double *alpha, base::DataMatrix &data, std::shared_ptr< base::OCLManagerMultiPlatform > manager, sgpp::base::OCLOperationConfiguration *parameters, T treshold, size_t k, size_t platform_id, size_t device_id)
 Constructor using a double vector as a dataset and a serialized grid. More...
 
virtual void prune_graph (std::vector< int > &graph, size_t startid=0, size_t chunksize=0)
 Deletes all nodes and edges within areas of low density which are in the given graph chunk. More...
 
 ~OperationPruneGraphOCLMultiPlatform ()
 
- Public Member Functions inherited from sgpp::datadriven::DensityOCLMultiPlatform::OperationPruneGraphOCL
 OperationPruneGraphOCL ()
 
virtual ~OperationPruneGraphOCL (void)
 

Additional Inherited Members

- Static Public Member Functions inherited from sgpp::datadriven::DensityOCLMultiPlatform::OperationPruneGraphOCL
static void load_default_parameters (base::OCLOperationConfiguration *parameters)
 

Detailed Description

template<typename T>
class sgpp::datadriven::DensityOCLMultiPlatform::OperationPruneGraphOCLMultiPlatform< T >

Operation for density based graph pruning.

Constructor & Destructor Documentation

◆ OperationPruneGraphOCLMultiPlatform() [1/2]

◆ OperationPruneGraphOCLMultiPlatform() [2/2]

template<typename T>
sgpp::datadriven::DensityOCLMultiPlatform::OperationPruneGraphOCLMultiPlatform< T >::OperationPruneGraphOCLMultiPlatform ( int *  gridpoints,
size_t  gridSize,
size_t  dimensions,
double *  alpha,
base::DataMatrix data,
std::shared_ptr< base::OCLManagerMultiPlatform manager,
sgpp::base::OCLOperationConfiguration parameters,
treshold,
size_t  k,
size_t  platform_id,
size_t  device_id 
)
inline

Constructor using a double vector as a dataset and a serialized grid.

References analyse_erg::counter, sgpp::base::DataMatrix::getPointer(), sgpp::base::DataMatrix::getSize(), python.statsfileInfo::i, and python.leja::points.

◆ ~OperationPruneGraphOCLMultiPlatform()

Member Function Documentation

◆ prune_graph()

template<typename T>
virtual void sgpp::datadriven::DensityOCLMultiPlatform::OperationPruneGraphOCLMultiPlatform< T >::prune_graph ( std::vector< int > &  graph,
size_t  startid = 0,
size_t  chunksize = 0 
)
inlinevirtual

Deletes all nodes and edges within areas of low density which are in the given graph chunk.

Implements sgpp::datadriven::DensityOCLMultiPlatform::OperationPruneGraphOCL.

References sgpp::datadriven::DensityOCLMultiPlatform::KernelPruneGraph< T >::prune_graph(), and python.leja::start.


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