#include <stdbool.h>
Go to the source code of this file.
◆ Multilevel_Modularity_Clustering
◆ anonymous enum
Enumerator |
---|
CLUSTERING_MODULARITY | |
CLUSTERING_MQ | |
Definition at line 39 of file clustering.h.
◆ 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().