|
void | begin_graph_creation (int startid, int chunksize) |
|
void | create_graph (std::vector< int > &resultVector, int startid=0, int chunksize=0) |
| Creates part of the k nearest neighbor graph (or all of it with the default parameters) More...
|
|
void | finalize_graph_creation (std::vector< int > &resultVector, int startid, int chunksize) |
|
| OperationCreateGraphOCLSingleDevice (base::DataMatrix &data, size_t dimensions, std::shared_ptr< base::OCLManagerMultiPlatform > manager, sgpp::base::OCLOperationConfiguration *parameters, size_t k, size_t platform_id, size_t device_id) |
| Constructor using a DataMatrix. More...
|
|
| OperationCreateGraphOCLSingleDevice (double *dataset, size_t datasize, size_t dimensions, std::shared_ptr< base::OCLManagerMultiPlatform > manager, sgpp::base::OCLOperationConfiguration *parameters, size_t k, size_t platform_id, size_t device_id) |
| Constructor which accepts double vector instead of a DataMatrix. More...
|
|
void | set_problemchunk (size_t start_id, size_t chunksize) |
|
virtual | ~OperationCreateGraphOCLSingleDevice (void) |
|
| OperationCreateGraphOCL () |
|
virtual | ~OperationCreateGraphOCL (void) |
|
|
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 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...
|
|
template<typename T>
class sgpp::datadriven::DensityOCLMultiPlatform::OperationCreateGraphOCLSingleDevice< T >
Operation for creation of a k nearest neighbors graph using a dataset.