Class CompressedRandomWalks.CompressedWalkIterator
- java.lang.Object
-
- com.carrotsearch.hppc.AbstractIterator<long[]>
-
- org.neo4j.gds.embeddings.node2vec.CompressedRandomWalks.CompressedWalkIterator
-
- All Implemented Interfaces:
java.util.Iterator<long[]>
- Enclosing class:
- CompressedRandomWalks
public static class CompressedRandomWalks.CompressedWalkIterator extends com.carrotsearch.hppc.AbstractIterator<long[]>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected long[]fetch()Returns the next random walk in the specified range.
-
-
-
Method Detail
-
fetch
protected long[] fetch()
Returns the next random walk in the specified range. The long array returned by this method will be reused in the following call to `next` and must not be shared. If the current walk is shorter than the maximum walk length, the remaining elements will be filled with -1.- Specified by:
fetchin classcom.carrotsearch.hppc.AbstractIterator<long[]>
-
-