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

#include <kodama.hpp>

Public Attributes

std::vector< int > membership
 
double modularity = 0.0
 
int n_communities = 0
 
int n_vertices = 0
 
int n_edges = 0
 
int target_clusters = 0
 
int target_gap = 0
 
bool target_exact = true
 
double runtime_seconds = 0.0
 
Backend backend = Backend::CPU
 

Detailed Description

Definition at line 429 of file kodama.hpp.

Member Data Documentation

◆ backend

Backend kodama::GraphClusterResult::backend = Backend::CPU

Definition at line 439 of file kodama.hpp.

◆ membership

std::vector<int> kodama::GraphClusterResult::membership

Definition at line 430 of file kodama.hpp.

◆ modularity

double kodama::GraphClusterResult::modularity = 0.0

Definition at line 431 of file kodama.hpp.

◆ n_communities

int kodama::GraphClusterResult::n_communities = 0

Definition at line 432 of file kodama.hpp.

◆ n_edges

int kodama::GraphClusterResult::n_edges = 0

Definition at line 434 of file kodama.hpp.

◆ n_vertices

int kodama::GraphClusterResult::n_vertices = 0

Definition at line 433 of file kodama.hpp.

◆ runtime_seconds

double kodama::GraphClusterResult::runtime_seconds = 0.0

Definition at line 438 of file kodama.hpp.

◆ target_clusters

int kodama::GraphClusterResult::target_clusters = 0

Definition at line 435 of file kodama.hpp.

◆ target_exact

bool kodama::GraphClusterResult::target_exact = true

Definition at line 437 of file kodama.hpp.

◆ target_gap

int kodama::GraphClusterResult::target_gap = 0

Definition at line 436 of file kodama.hpp.


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