snark_tool/
lib.rs

1//! # snark-tool
2//! Snark-tool contains structures and algorithm for structural analysis of cubic graphs.
3//!
4//! # Regular colourability
5//! One of the most important functions provided by snark-tool is function to resolve regular 3-edge
6//! colourability of given graph. Here in version 0.4.0 all implemented colourisers works only for
7//! cubic graphs.
8//!
9//! # Basic usage
10//! Example of basic usage of snark-tool.
11//!
12//! ```
13//! use snark_tool::graph::graph::{Graph, GraphConstructor};
14//! use snark_tool::graph::undirected::simple_graph::graph::SimpleGraph;
15//!
16//! fn main() {
17//!     let mut graph = SimpleGraph::new();
18//!     graph.add_edge(0, 5);
19//!     graph.add_edge(2, 4);
20//!
21//!     for edge in graph.edges() {
22//!         println!("{:?}", edge);
23//!     }
24//! }
25//! ```
26
27pub mod graph;
28pub mod procedure;
29pub mod service;
30mod tests;