SG++-Doxygen-Documentation
|
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 ¶meters) |
Adds all possible building parameters to the configuration if they do not exist yet. More... | |
OpenCL kernel for density based pruning of a graph.
|
inline |
|
inline |
|
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().
|
inline |
Deletes nodes and edges in areas of low density.
References sgpp::datadriven::DensityOCLMultiPlatform::SourceBuilderPruneGraph< real_type >::generateSource(), sgpp::base::OCLBufferWrapperSD< T >::getBuffer(), sgpp::base::OCLBufferWrapperSD< T >::getHostPointer(), python.statsfileInfo::i, sgpp::base::OCLBufferWrapperSD< T >::intializeTo(), and sgpp::base::OCLBufferWrapperSD< T >::readFromBuffer().
Referenced by sgpp::datadriven::DensityOCLMultiPlatform::OperationPruneGraphOCLMultiPlatform< T >::prune_graph().