![]()  | 
  
    SG++-Doxygen-Documentation
    
   | 
 
Pure virtual base class for the k nearest neighbor opencl operation. More...
#include <OperationCreateGraphOCL.hpp>
  
 Public Member Functions | |
| virtual void | begin_graph_creation (int startid, int chunksize)=0 | 
| virtual void | create_graph (std::vector< int > &resultVector, int startid=0, int chunksize=0)=0 | 
| Pure virtual function to create the k nearest neighbor graph for some datapoints of a dataset.  More... | |
| virtual void | finalize_graph_creation (std::vector< int > &resultVector, int startid, int chunksize)=0 | 
| OperationCreateGraphOCL () | |
| virtual | ~OperationCreateGraphOCL (void) | 
Static Public Member Functions | |
| static std::vector< size_t > | find_clusters (std::vector< int > &graph, size_t k) | 
| Assign a clusterindex for each datapoint using the connected components of the graph.  More... | |
| static void | load_default_parameters (base::OCLOperationConfiguration *parameters) | 
| Add the default parameters to the the configuration.  More... | |
Static Protected Member Functions | |
| static size_t | find_neighbors (size_t index, std::vector< int > &nodes, size_t cluster, size_t k, std::vector< size_t > &clusterList, bool overwrite=false) | 
| Recursive function for traversing the k nearest neighbor graph.  More... | |
Pure virtual base class for the k nearest neighbor opencl operation.
      
  | 
  inline | 
References begin_graph_creation(), create_graph(), and finalize_graph_creation().
      
  | 
  inlinevirtual | 
      
  | 
  pure virtual | 
      
  | 
  pure virtual | 
Pure virtual function to create the k nearest neighbor graph for some datapoints of a dataset.
Implemented in sgpp::datadriven::DensityOCLMultiPlatform::OperationCreateGraphOCLSingleDevice< T >.
Referenced by sgpp::datadriven::ClusteringOCL::OperationClusteringOCL< T >::calculate_clusters(), main(), OperationCreateGraphOCL(), and sgpp::datadriven::clusteringmpi::GraphCreationWorker::start_worker_main().
      
  | 
  pure virtual | 
      
  | 
  inlinestatic | 
Assign a clusterindex for each datapoint using the connected components of the graph.
References analyse_erg::clustercount, find_neighbors(), and python.statsfileInfo::i.
Referenced by sgpp::datadriven::ClusteringOCL::OperationClusteringOCL< T >::calculate_clusters(), and main().
      
  | 
  inlinestaticprotected | 
Recursive function for traversing the k nearest neighbor graph.
References python.statsfileInfo::i.
Referenced by find_clusters().
      
  | 
  inlinestatic | 
Add the default parameters to the the configuration.
References json::DictNode::addIDAttr(), sgpp::datadriven::DensityOCLMultiPlatform::KernelCreateGraph< T >::augmentDefaultParameters(), and json::DictNode::contains().
Referenced by sgpp::datadriven::createNearestNeighborGraphConfigured().