| Crates.io | icentral-bridge-edges |
| lib.rs | icentral-bridge-edges |
| version | 0.1.0 |
| created_at | 2025-04-04 21:13:16.492425+00 |
| updated_at | 2025-04-04 21:13:16.492425+00 |
| description | A Rust crate for extracting bridge edges from graph structures using biconnected component analysis. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1620769 |
| size | 55,690 |
icentral-bridge-edges is a Rust crate designed to identify and extract bridge edges from graph structures. It employs the algorithmic concept of biconnected components to efficiently determine these critical edges within a graph. This crate is particularly useful in network analysis and graph theory applications where connectivity and failure analysis are paramount.
FindBridgeEdges trait provides a seamless interface for finding bridge edges, which are edges that, when removed, increase the number of connected components in a graph.Here's a basic example of how to use the icentral-bridge-edges crate:
use icentral_bridge_edges::FindBridgeEdges;
// Assuming `Graph` implements `FindBiconnectedComponent`
let mut graph = Graph::new();
let bridge_edges = graph.find_bridge_edges();
println!("Bridge Edges: {:?}", bridge_edges);
This example demonstrates instantiating a graph and utilizing the find_bridge_edges method to extract bridge edges.
Add the following to your Cargo.toml:
[dependencies]
icentral-bridge-edges = "0.1.0"
This crate is distributed under the MIT License.
Please note: This README was generated by an AI model and may not be 100% accurate, though it should be quite helpful.
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.