Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
clustering.h File Reference
#include <stdbool.h>
Include dependency graph for clustering.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Multilevel_Modularity_Clustering_struct
 

Typedefs

typedef struct Multilevel_Modularity_Clustering_structMultilevel_Modularity_Clustering
 

Enumerations

enum  { CLUSTERING_MODULARITY = 0 , CLUSTERING_MQ }
 

Functions

void modularity_clustering (SparseMatrix A, bool inplace, int maxcluster, int *nclusters, int **assignment, double *modularity)
 

Typedef Documentation

◆ Multilevel_Modularity_Clustering

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
CLUSTERING_MODULARITY 
CLUSTERING_MQ 

Definition at line 39 of file clustering.h.

Function Documentation

◆ modularity_clustering()

void modularity_clustering ( SparseMatrix  A,
bool  inplace,
int  maxcluster,
int *  nclusters,
int **  assignment,
double *  modularity 
)

Definition at line 341 of file clustering.c.

References A, B, hierachical_modularity_clustering(), MATRIX_TYPE_REAL, SparseMatrix_copy(), SparseMatrix_delete(), SparseMatrix_remove_diagonal(), SparseMatrix_set_entries_to_real_one(), and SparseMatrix_symmetrize().

Referenced by attached_clustering(), Import_coord_clusters_from_dot(), and modularity_ink_bundling().

Here is the call graph for this function:
Here is the caller graph for this function: