You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Rust library for community detection and graph clustering algorithms.
3
+
⚠️ **Development Status**: This library is currently under heavy development and should **not be considered production ready**. APIs may change significantly between versions.
4
+
5
+
A Rust library for community detection and graph clustering algorithms with a focus on performance and flexibility.
4
6
5
7
## Features
6
8
7
-
-**Network Analysis**: Efficient graph representation and manipulation for clustering tasks
8
-
-**Community Detection**: Implementation of state-of-the-art algorithms
9
-
- Louvain method for community detection
10
-
- Leiden algorithm (enhanced version of Louvain)
11
-
-**Flexible Grouping**: Abstract trait system for creating and managing node clusters
12
-
-**Performance**: Parallel computation support via Rayon
13
-
-**K-NN Graph Creation**: Build networks from high-dimensional data points
9
+
-**Efficient Network Representation**: CSR (Compressed Sparse Row) format for optimal memory usage and performance
10
+
-**Community Detection Algorithms**:
11
+
-**Leiden Algorithm**: State-of-the-art method with guaranteed well-connected communities
Copy file name to clipboardExpand all lines: src/community_search/leiden/mod.rs
+27-6Lines changed: 27 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,39 +1,60 @@
1
-
use std::collections::{HashSet,VecDeque};
1
+
//! Leiden algorithm implementation for community detection in networks.
2
+
//!
3
+
//! The Leiden algorithm is an improvement over the Louvain algorithm that guarantees
4
+
//! well-connected communities. It uses a refinement phase to ensure high-quality
5
+
//! partitions by preventing poorly connected communities. IMPORTANT: This code is currently work-in-progress and neither production ready nor optimize to the fullest!
0 commit comments