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

OpenCL kernel for density based pruning of a graph. More...

#include <KernelPruneGraph.hpp>

Public Member Functions

 KernelPruneGraph (std::shared_ptr< base::OCLDevice > dev, size_t dims, T treshold, size_t k, std::shared_ptr< base::OCLManagerMultiPlatform > manager, json::Node &kernelConfiguration, std::vector< int > &pointsVector, std::vector< T > &alphaVector, std::vector< T > &dataVector)
 
double prune_graph (std::vector< int > &graph, size_t startid, size_t chunksize)
 Deletes nodes and edges in areas of low density. More...
 
 ~KernelPruneGraph ()
 

Static Public Member Functions

static void augmentDefaultParameters (sgpp::base::OCLOperationConfiguration &parameters)
 Adds all possible building parameters to the configuration if they do not exist yet. More...
 

Detailed Description

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

OpenCL kernel for density based pruning of a graph.

Constructor & Destructor Documentation

◆ KernelPruneGraph()

template<typename T>
sgpp::datadriven::DensityOCLMultiPlatform::KernelPruneGraph< T >::KernelPruneGraph ( std::shared_ptr< base::OCLDevice dev,
size_t  dims,
treshold,
size_t  k,
std::shared_ptr< base::OCLManagerMultiPlatform manager,
json::Node kernelConfiguration,
std::vector< int > &  pointsVector,
std::vector< T > &  alphaVector,
std::vector< T > &  dataVector 
)
inline

◆ ~KernelPruneGraph()

Member Function Documentation

◆ augmentDefaultParameters()

template<typename T>
static void sgpp::datadriven::DensityOCLMultiPlatform::KernelPruneGraph< T >::augmentDefaultParameters ( sgpp::base::OCLOperationConfiguration parameters)
inlinestatic

Adds all possible building parameters to the configuration if they do not exist yet.

References json::Node::addDictAttr(), json::Node::addIDAttr(), json::Node::addTextAttr(), and json::Node::contains().

Referenced by sgpp::datadriven::DensityOCLMultiPlatform::OperationPruneGraphOCL::load_default_parameters().

◆ prune_graph()


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