| Crates.io | icentral-mucid |
| lib.rs | icentral-mucid |
| version | 0.1.0 |
| created_at | 2025-04-04 20:55:06.244657+00 |
| updated_at | 2025-04-04 20:55:06.244657+00 |
| description | A Rust crate for managing Minimum Union Cycle IDs in graph nodes, providing easy-to-use traits and macros for interacting with node identifiers within complex graph structures. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1620738 |
| size | 50,470 |
icentral-mucid is a Rust crate designed for managing identifiers associated with minimum union cycles within graph nodes, offering a straightforward API to access and manipulate these identifiers effectively.
MinimumUnionCycleId for a given node using mucid_for_node.MinimumUnionCycleId for a node via set_mucid_for_node.mucid! macro for simplifying repetitive code tasks, enhancing expressiveness and maintaining robustness in your codebase.Display, and deriving traits such as Clone, Copy, PartialEq, and more.This crate leverages fundamental concepts from discrete mathematics and graph theory, concentrating on minimal cycles, which are pivotal in algorithms that analyze or manipulate graph structures by aiming at optimal intersection points or paths.
To utilize the functionalities provided by icentral-mucid, import the relevant traits and structures into your Rust project's scope.
use icentral_mucid::{MucIdForNode, SetMucIdForNode, MinimumUnionCycleId, mucid};
// Example implementation
struct NodeIdExample;
impl MucIdForNode for NodeIdExample {
fn mucid_for_node(&self, node: NodeId) -> MinimumUnionCycleId {
// Implementation details here
}
}
Add icentral-mucid to your Cargo.toml dependencies:
[dependencies]
icentral-mucid = "0.1.0"
We welcome contributions and improvements. Fork the repository, make your changes, and submit a pull request. Please ensure your contributions are well-documented and tested.
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.