kodama-cpp
Standalone float32 KODAMA kernels for CPU, CUDA, and Apple Metal
Loading...
Searching...
No Matches
kodama::GraphClusterOptions Struct Reference

#include <kodama.hpp>

Public Attributes

Backend backend = Backend::CPU
 
GraphWeightType weight_type = GraphWeightType::Distance
 
DistanceMetric metric = DistanceMetric::Euclidean
 
int k = 30
 
int n_threads = 1
 
int n_iterations = 10
 
int random_walk_steps = 4
 
int target_clusters = 0
 
int gpu_device = 0
 
double prune = 0.0
 
bool mutual = false
 

Detailed Description

Definition at line 415 of file kodama.hpp.

Member Data Documentation

◆ backend

Backend kodama::GraphClusterOptions::backend = Backend::CPU

Definition at line 416 of file kodama.hpp.

◆ gpu_device

int kodama::GraphClusterOptions::gpu_device = 0

Definition at line 424 of file kodama.hpp.

◆ k

int kodama::GraphClusterOptions::k = 30

Definition at line 419 of file kodama.hpp.

◆ metric

DistanceMetric kodama::GraphClusterOptions::metric = DistanceMetric::Euclidean

Definition at line 418 of file kodama.hpp.

◆ mutual

bool kodama::GraphClusterOptions::mutual = false

Definition at line 426 of file kodama.hpp.

◆ n_iterations

int kodama::GraphClusterOptions::n_iterations = 10

Definition at line 421 of file kodama.hpp.

◆ n_threads

int kodama::GraphClusterOptions::n_threads = 1

Definition at line 420 of file kodama.hpp.

◆ prune

double kodama::GraphClusterOptions::prune = 0.0

Definition at line 425 of file kodama.hpp.

◆ random_walk_steps

int kodama::GraphClusterOptions::random_walk_steps = 4

Definition at line 422 of file kodama.hpp.

◆ target_clusters

int kodama::GraphClusterOptions::target_clusters = 0

Definition at line 423 of file kodama.hpp.

◆ weight_type

GraphWeightType kodama::GraphClusterOptions::weight_type = GraphWeightType::Distance

Definition at line 417 of file kodama.hpp.


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