Class BreadthFirstIterator

java.lang.Object
org.graphstream.graph.BreadthFirstIterator
All Implemented Interfaces:
Iterator<Node>

public class BreadthFirstIterator
extends Object
implements Iterator<Node>
  • Constructor Details

    • BreadthFirstIterator

      public BreadthFirstIterator​(Node startNode, boolean directed)
    • BreadthFirstIterator

      public BreadthFirstIterator​(Node startNode)
  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<Node>
    • next

      public Node next()
      Specified by:
      next in interface Iterator<Node>
    • remove

      public void remove()
      Specified by:
      remove in interface Iterator<Node>
    • getDepthOf

      public int getDepthOf​(Node node)
    • getDepthMax

      public int getDepthMax()
    • tabu

      public boolean tabu​(Node node)
    • isDirected

      public boolean isDirected()