/**
  * @param graph IGraph to conduct walks on
  * @param walkLength length of each walk. Walk of length 0 includes 1 vertex, walk of 1 includes 2
  *     vertices etc
  * @param rngSeed seed for randomization
  * @param mode mode for handling random walks from vertices with either no edges, or no outgoing
  *     edges (for directed graphs)
  */
 public WeightedRandomWalkIterator(
     IGraph<V, ? extends Number> graph, int walkLength, long rngSeed, NoEdgeHandling mode) {
   this(graph, walkLength, rngSeed, mode, 0, graph.numVertices());
 }