snark-tool 0.4.0

snark-tool library contains structures and algorithm for (mainly) cubic graph analysis
Documentation
1
2
3
4
5
6
7
8
9
10
11
pub trait Edge: Eq {
    fn from(&self) -> usize;
    fn to(&self) -> usize;
    fn color(&self) -> u8;
    fn set_color(&mut self, color: u8);
}

pub trait EdgeConstructor {
    fn new(from: usize, to: usize) -> Self;
    fn new_with_colour(from: usize, to: usize, colour: u8) -> Self;
}