| Crates.io | icentral-test-fast-brandes |
| lib.rs | icentral-test-fast-brandes |
| version | 0.1.0 |
| created_at | 2025-04-04 23:24:16.182887+00 |
| updated_at | 2025-04-04 23:24:16.182887+00 |
| description | Highly optimized Brandes algorithm for computing betweenness centrality in network graphs. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1621009 |
| size | 49,395 |
This Rust crate implements a highly optimized version of the Brandes algorithm for computing betweenness centrality in graphs. The algorithm is pivotal in network analysis, providing insights into the importance of vertices in a network. Utilizing advanced optimization techniques, this crate significantly reduces computation time, making it suitable for large-scale graphs.
Add the following to your Cargo.toml:
[dependencies]
icentral-test-fast-brandes = "0.1.0"
Import the crate and utilize the functions to compute centrality metrics for your graph data. Refer to the function documentation for precise usage instructions.
use icentral_test_fast_brandes::compute_centrality;
// Example usage
let centrality = compute_centrality(&my_graph);
println!("Betweenness Centrality: {:?}", centrality);
Contributions are welcome. Please submit a pull request or open an issue to discuss potential changes.
This project draws on established research in graph theory to deliver efficient network analysis tools.
This README was generated by an AI model and may not be 100% accurate; however, it should be pretty good.
This crate is in the process of being translated from c++ to rust. Currently, it still needs exhaustive testing. It is likely there currently exist many glitches which need to be fixed before proper usage. This crate is based on the original icentral program developed by Fuad Jamor. Please see the following repository for details: https://github.com/fjamour/icentral.
For progress updates, see the workspacer rust project.