code: public void fit(IGraph<V, E> graph, int walkLength) {
          if (!initCalled)
              initialize(graph);
          //First: create iterators, one for each thread
  
          GraphWalkIteratorProvider<V> iteratorProvider = new RandomWalkGraphIteratorProvider<>(graph, walkLength, seed,
                          NoEdgeHandling.SELF_LOOP_ON_DISCONNECTED);
  
          fit(iteratorProvider);
      }
docs: Fit the model, in parallel.
  This creates a set of GraphWalkIterators, which are then distributed one to each thread
  @param graph Graph to fit
  @param walkLength Length of rangom walks to generate