- Type Parameters:
V
- Vertex type
- All Implemented Interfaces:
- GraphWalkIteratorProvider<V>
public class RandomWalkGraphIteratorProvider<V>
extends java.lang.Object
implements GraphWalkIteratorProvider<V>
Random walk graph iterator provider: given a graph, split up the generation of random walks
for parallel learning. Specifically: with N threads and V vertices:
- First iterator generates random walks starting at vertices 0 to V/N
- Second iterator generates random walks starting at vertices V/N+1 to 2*V/N
- and so on