[][src]Function rs_graph::dimacs::graph::read

pub fn read<G>(fname: &str) -> Result<(G, Vec<f64>), DimacsError> where
    G: Buildable

Read DIMACS file.

  • fname is the name of the file to be read
  • weights is the array of node weights