SG++-Doxygen-Documentation
sgpp::datadriven::DensityOCLMultiPlatform::SourceBuilderPruneGraph< real_type > Class Template Reference

OpenCL source builder for density based graph pruning. More...

#include <KernelSourceBuilderPruneGraph.hpp>

Inheritance diagram for sgpp::datadriven::DensityOCLMultiPlatform::SourceBuilderPruneGraph< real_type >:
sgpp::base::KernelSourceBuilderBase< real_type >

Public Member Functions

std::string generateSource (size_t dimensions, size_t gridSize, size_t k, real_type treshold)
 Generates the whole opencl kernel code used for the pruning of a graph. More...
 
 SourceBuilderPruneGraph (json::Node &kernelConfiguration, size_t dims)
 
- Public Member Functions inherited from sgpp::base::KernelSourceBuilderBase< real_type >
 KernelSourceBuilderBase ()
 

Additional Inherited Members

- Protected Member Functions inherited from sgpp::base::KernelSourceBuilderBase< real_type >
std::string constSuffix ()
 
std::string floatType ()
 
std::string intType ()
 
std::string reuseSource (std::string fileName)
 
void writeSource (std::string fileName, std::string source)
 
- Protected Attributes inherited from sgpp::base::KernelSourceBuilderBase< real_type >
std::vector< std::string > indent
 
- Static Protected Attributes inherited from sgpp::base::KernelSourceBuilderBase< real_type >
static const size_t MAX_INDENT_LEVEL
 

Detailed Description

template<typename real_type>
class sgpp::datadriven::DensityOCLMultiPlatform::SourceBuilderPruneGraph< real_type >

OpenCL source builder for density based graph pruning.

Constructor & Destructor Documentation

template<typename real_type>
sgpp::datadriven::DensityOCLMultiPlatform::SourceBuilderPruneGraph< real_type >::SourceBuilderPruneGraph ( json::Node kernelConfiguration,
size_t  dims 
)
inline

Member Function Documentation

template<typename real_type>
std::string sgpp::datadriven::DensityOCLMultiPlatform::SourceBuilderPruneGraph< real_type >::generateSource ( size_t  dimensions,
size_t  gridSize,
size_t  k,
real_type  treshold 
)
inline

Generates the whole opencl kernel code used for the pruning of a graph.

Referenced by sgpp::datadriven::DensityOCLMultiPlatform::KernelPruneGraph< T >::prune_graph().


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