Package org.deeplearning4j.graph
Class VertexSequence<V>
- java.lang.Object
-
- org.deeplearning4j.graph.VertexSequence<V>
-
- All Implemented Interfaces:
Iterator<Vertex<V>>
,IVertexSequence<V>
public class VertexSequence<V> extends Object implements IVertexSequence<V>
-
-
Constructor Summary
Constructors Constructor Description VertexSequence(IGraph<V,?> graph, int[] indices)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
Vertex<V>
next()
void
remove()
int
sequenceLength()
Length of the vertex sequence-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Method Detail
-
sequenceLength
public int sequenceLength()
Description copied from interface:IVertexSequence
Length of the vertex sequence- Specified by:
sequenceLength
in interfaceIVertexSequence<V>
-
-