code: public static Graph<String, Double> loadWeightedEdgeListFile(String path, int numVertices, String delim,
                      boolean directed, String... ignoreLinesStartingWith) throws IOException {
          return loadWeightedEdgeListFile(path, numVertices, delim, directed, true, ignoreLinesStartingWith);
      }
docs: Method for loading a weighted graph from an edge list file, where each edge (inc. weight) is represented by a
  single line. Graph may be directed or undirected<br>
  This method assumes that edges are of the format: {@code fromIndex<delim>toIndex<delim>edgeWeight} where {@code <delim>}
  is the delimiter.
  <b>Note</b>: this method calls {@link #loadWeightedEdgeListFile(String, int, String, boolean, boolean, String...)} with allowMultipleEdges = true.
  @param path Path to the edge list file
  @param numVertices The number of vertices in the graph
  @param delim The delimiter used in the file (typically: "," or " " etc)
  @param directed whether the edges should be treated as directed (true) or undirected (false)
  @param ignoreLinesStartingWith Starting characters for comment lines. May be null. For example: "//" or "#"
  @return The graph
  @throws IOException