Interface GraphWalkIterator<T>
-
- All Known Implementing Classes:
RandomWalkIterator
,WeightedRandomWalkIterator
public interface GraphWalkIterator<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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 lengthi
containsi+1
vertices
-
-
-
Method Detail
-
walkLength
int walkLength()
Length of the walks returned by next() Note that a walk of lengthi
containsi+1
vertices
-
next
IVertexSequence<T> next()
Get the next vertex sequence.
-
hasNext
boolean hasNext()
Whether the iterator has any more vertex sequences.
-
reset
void reset()
Reset the graph walk iterator.
-
-