| Crates.io | icentral-test-insertion |
| lib.rs | icentral-test-insertion |
| version | 0.1.0 |
| created_at | 2025-04-04 23:25:05.331758+00 |
| updated_at | 2025-04-04 23:25:05.331758+00 |
| description | Efficiently insert edges into graphs to evaluate betweenness centrality using advanced hash methodologies. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1621013 |
| size | 86,214 |
icentral-test-insertion is a Rust crate designed for efficiently testing and benchmarking edge insertion operations within a graph structure for centrality calculations. The primary focus of this crate is to evaluate the speedup and performance improvements when inserting edges in a graph using novel computational techniques.
This crate provides two core functions:
insertion_test_fuad_hash:
insertion_test_fuad_max_iter:
insertion_test_fuad_hash, but allows for iterative executions and detailed speedup analysis across multiple iterations.Implement the graph structure you wish to analyze. Call insertion_test_fuad_hash or insertion_test_fuad_max_iter with your graph, specifying parameters such as edges to insert:
let mut graph = Graph::<GraphHash>::new();
let num_edges = 10;
match insertion_test_fuad_hash(&mut graph, num_edges) {
Ok(_) => println!("Insertion test completed successfully."),
Err(e) => eprintln!("Error encountered: {:?}", e),
}
This crate depends on the rand crate for randomized edge insertion when generating new graph edges.
This project is MIT licensed.
Note: This README.md file was generated by an AI model and may not be 100% accurate, though it should be quite informative and accurate enough for practical use cases.
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.