Crate matrixgraph

A graph implementation based on dense adjacency matrices

WARNING! Please expect odd bugs and backward incompatible changes at this early stage!

Features

Supported structs:

Usage

Add this library as a crate to your project:

rust extern crate matrixgraph; Define a graph:

```rust use matrixgraph::{Digraph, BasicGraphMethods};

let mut digraph = Digraph::new(3); digraph.setedge((0, 1), Some(1.0f64)); digraph.setedge((0, 2), Some(4.0f64)); digraph.set_edge((1, 2), Some(2.0f64)); ```