Package org.graphstream.graph
Class DepthFirstIterator
java.lang.Object
org.graphstream.graph.DepthFirstIterator
public class DepthFirstIterator extends Object implements Iterator<Node>
-
Constructor Summary
Constructors Constructor Description DepthFirstIterator(Node startNode)DepthFirstIterator(Node startNode, boolean directed) -
Method Summary
Modifier and Type Method Description intgetDepthMax()intgetDepthOf(Node node)booleanhasNext()booleanisDirected()Nodenext()voidremove()booleantabu(Node node)Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
DepthFirstIterator
-
DepthFirstIterator
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
remove
public void remove() -
getDepthOf
-
getDepthMax
public int getDepthMax() -
tabu
-
isDirected
public boolean isDirected()
-