Constructor and Description |
---|
DepthFirstIterator(Node startNode) |
DepthFirstIterator(Node startNode,
boolean directed) |
Modifier and Type | Method and Description |
---|---|
int |
getDepthMax() |
int |
getDepthOf(Node node) |
boolean |
hasNext() |
boolean |
isDirected() |
Node |
next() |
void |
remove() |
boolean |
tabu(Node node) |
public DepthFirstIterator(Node startNode, boolean directed)
public DepthFirstIterator(Node startNode)
public boolean hasNext()
hasNext
in interface java.util.Iterator<Node>
public void remove()
remove
in interface java.util.Iterator<Node>
public int getDepthOf(Node node)
public int getDepthMax()
public boolean tabu(Node node)
public boolean isDirected()