public interface GraphWalkIterator<T>
GraphWalkIterator<T>
can represesnt a set of independent random walks on a graphModifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Whether the iterator has any more vertex sequences.
|
IVertexSequence<T> |
next()
Get the next vertex sequence.
|
void |
reset()
Reset the graph walk iterator.
|
int |
walkLength()
Length of the walks returned by next()
Note that a walk of length
i contains i+1 vertices |
int walkLength()
i
contains i+1
verticesIVertexSequence<T> next()
boolean hasNext()
void reset()