icentral-graph 0.1.0

A Rust library for advanced graph manipulation, focusing on minimum union cycles, betweenness centrality, and biconnected components.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
crate::ix!();

impl<GH> FromFilename for Graph<GH> where GH: BccGraphHashInterface {

    fn from_filename(filename: &str) -> Self {

        let mut g = Graph::empty(&extract_graph_name(filename));

        g.read_graph(filename);

        g
    }
}