|
Java example source code file (GraphWalkIterator.java)
The GraphWalkIterator.java Java example source codepackage org.deeplearning4j.graph.iterator; import org.deeplearning4j.graph.api.IVertexSequence; /**Interface/iterator representing a sequence of walks on a graph * For example, a {@code GraphWalkIterator<T>} can represesnt a set of independent random walks on a graph */ public interface GraphWalkIterator<T> { /** Length of the walks returned by next() * Note that a walk of length {@code i} contains {@code i+1} vertices */ int walkLength(); /**Get the next vertex sequence. */ IVertexSequence<T> next(); /** Whether the iterator has any more vertex sequences. */ boolean hasNext(); /** Reset the graph walk iterator. */ void reset(); } Other Java examples (source code examples)Here is a short list of links related to this Java GraphWalkIterator.java source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.