graphrs 0.11.16

graphrs is a Rust package for the creation, manipulation and analysis of graphs.
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[derive(Debug, PartialEq)]
pub(crate) struct AdjacentNode {
    pub node_index: usize,
    pub weight: f64,
}

impl AdjacentNode {
    pub fn new(node_index: usize, weight: f64) -> Self {
        AdjacentNode { node_index, weight }
    }
}