src/main/java/de/dfki/lt/loot/digraph/io/SimpleGraphReader.java
public static void readEdgeWeightGraph(Reader in,
      final Graph<Integer> result)
      throws IOException {
    readGraphGeneric(in, result, nodeNoOp,
        (edge, infoString) -> Integer.parseInt(infoString));
  }
/**
   * Creates a graph from a readable specification including edge weights.
   *
   * @param in
   *          the reader from which to read the graph
   * @return the graph
   * @throws IOException
   *           if there is an error when reading the graph
   */
Creates a graph from a readable specification including edge weights.
@param in
the reader from which to read the graph
@return the graph
@throws IOException
if there is an error when reading the graph
Creates a graph from a readable specification including edge weights . @param in the reader from which to read the graph @return the graph @throws IOException if there is an error when reading the graph
public static void readEdgeWeightGraph(Reader in,
      final Graph<Integer> result)
      throws IOException {
    readGraphGeneric(in, result, nodeNoOp,
        (edge, infoString) -> Integer.parseInt(infoString));
  }
public static void readEdgeWeightGraph ( Reader in , final Graph < Integer > result ) throws IOException { readGraphGeneric ( in , result , nodeNoOp , ( edge , infoString ) -> Integer . parseInt ( infoString ) ) ; }
Creates a graph from a readable specification including edge weights.
Creates a graph from a readable specification including edge weights .