org.graphstream.graph
Class BreadthFirstIterator<T extends Node>
java.lang.Object
org.graphstream.graph.BreadthFirstIterator<T>
- All Implemented Interfaces:
- Iterator<T>
public class BreadthFirstIterator<T extends Node>
- extends Object
- implements Iterator<T>
BreadthFirstIterator
public BreadthFirstIterator(Node startNode,
boolean directed)
BreadthFirstIterator
public BreadthFirstIterator(Node startNode)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<T extends Node>
next
public T next()
- Specified by:
next
in interface Iterator<T extends Node>
remove
public void remove()
- Specified by:
remove
in interface Iterator<T extends Node>
getDepthOf
public int getDepthOf(Node node)
getDepthMax
public int getDepthMax()
tabu
public boolean tabu(Node node)
isDirected
public boolean isDirected()
Copyright © 2013. All Rights Reserved.