| Crates.io | icentral-test-incremental-qube |
| lib.rs | icentral-test-incremental-qube |
| version | 0.1.0 |
| created_at | 2025-04-04 22:37:56.245591+00 |
| updated_at | 2025-04-04 22:37:56.245591+00 |
| description | Rust crate offering efficient algorithms for incremental betweenness centrality computation in dynamic graph structures using MUCs. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1620892 |
| size | 73,662 |
icentral-test-incremental-qube is an advanced Rust crate designed for efficiently calculating betweenness centrality updates in dynamic graph structures. The primary focus is the implementation of algorithms facilitating the rapid updating of centrality scores upon incremental changes, such as edge insertions, exploiting the properties of Minimum Union Cycles (MUCs).
This crate requires setting up a Graph type with specific trait implementations:
use icentral_test_incremental_qube::exp_inc_qube_p;
let mut graph = /* initialize graph here */;
let rand_edge_vec = /* vector of edges to insert */;
let brandes_time = /* timing from Brandes computation */;
exp_inc_qube_p(&mut graph, None, &rand_edge_vec, brandes_time).expect("Failed to update betweenness centrality");
This crate requires the implementation of several traits for the Graph generics, such as InsertEdgeUpdateMuc, NodeIdToMucId, and others, facilitating the interaction with the graph's internal structure.
The crate is designed with performance in mind. Ensure that graph operations do not lead to unintentional data races or memory issues, particularly under concurrent contexts.
This README was generated by an AI model and may not be 100% precise. However, it should serve as a comprehensive guide to the functionalities and usage of the crate.
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.