forked from habedi/graphina
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmod.rs
More file actions
27 lines (22 loc) · 844 Bytes
/
mod.rs
File metadata and controls
27 lines (22 loc) · 844 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*!
# Parallel Algorithms Extension
This extension provides parallel implementations of computationally intensive graph algorithms
using Rayon for multi-threading. These implementations can provide 4-8x speedup on multi-core machines.
All parallel functions have the `_parallel` suffix to distinguish them from sequential versions.
Independent of other extensions; depends only on core.
*/
pub mod bfs;
pub mod clustering;
pub mod components;
pub mod degrees;
pub mod pagerank;
pub mod paths;
pub mod triangles;
// Re-export main functions for convenience
pub use bfs::bfs_parallel;
pub use clustering::clustering_coefficients_parallel;
pub use components::connected_components_parallel;
pub use degrees::degrees_parallel;
pub use pagerank::pagerank_parallel;
pub use paths::shortest_paths_parallel;
pub use triangles::triangles_parallel;