| Crates.io | icentral-graph-hash |
| lib.rs | icentral-graph-hash |
| version | 0.1.0 |
| created_at | 2025-04-04 22:33:21.217679+00 |
| updated_at | 2025-04-04 22:33:21.217679+00 |
| description | Efficient manipulation and analysis of weighted graphs using advanced graph theory techniques, including betweenness centrality and connected components. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1620878 |
| size | 90,960 |
icentral-graph-hash is a Rust crate designed for efficient manipulation and analysis of weighted graphs. The main struct, GraphHash, offers functionality for representing graphs with integral nodes and efficiently managing their structures and properties.
Graph theory offers compelling tools for solving complex problems in numerous fields, such as network analysis, computational biology, and social network analysis. This crate leverages advanced concepts in graph theory, including betweenness centrality computation via Brandes' algorithm and various graph traversal mechanisms, to provide robust tools for researchers and developers alike.
use icentral_graph_hash::{GraphHash, Edge};
let mut graph = GraphHash::empty("my_graph");
graph.insert_edge(&Edge::new(0, 1));
graph.insert_edge(&Edge::new(1, 2));
let components = graph.find_conn_comp().unwrap();
for component in components {
println!("Component: {:#?}", component);
}
Add the following to your Cargo.toml:
[dependencies]
icentral-graph-hash = "0.1.0"
We welcome contributions that enhance the functionality and performance of this crate. Please ensure all patches pass the existing test suite.
Note: This README.md file 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.