| Crates.io | icentral-workspace |
| lib.rs | icentral-workspace |
| version | 0.1.0 |
| created_at | 2025-04-04 21:11:25.174727+00 |
| updated_at | 2025-04-04 21:11:25.174727+00 |
| description | The icentral-workspace crate provides a comprehensive solution for managing data and updating calculations in iterative graph transformation processes with a focus on centrality metrics. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1620766 |
| size | 82,555 |
iCentral Workspace is a Rust crate designed to facilitate intricate data manipulation and storage for calculations involving centrality in large graph structures. It helps manage dynamic graph updates by efficiently tracking and updating required metrics during graph modifications.
The ICentralWorkspace struct serves as a container for managing graph-related data during iterative processes of the iCentral algorithm. The workspace captures key metrics like path counts, node distances, and intermediary computation results before and after graph edge insertions.
Create a new instance of the ICentralWorkspace with the desired size and name:
let workspace = ICentralWorkspace::new_init_all(nodes_count, "workspace_name");
new_sigmas() and associated methods to keep track of path counts.The crate includes advanced methods such as fix_order_of_workspace_stack, utilizing optimized sorting techniques for performance improvement, presenting opportunities for further optimization in bottleneck areas.
workspace.set_new_sigmas_from(&other_sigmas);
workspace.compute_new_path_counts_and_paths(src_node, dst_node);
workspace.update_new_deltas_with_new_sigma_ratio(v_p, v_n);
This README.md file was generated by an AI model and may not be 100% accurate, though it strives for precise and useful information.
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.