Documentation of 'org.jgrapht.traverse.CrossComponentIterator' Java class
CrossComponentIterator
org.jgrapht.traverse

Class CrossComponentIterator<V,E,D>

    • Constructor Detail

      • CrossComponentIterator

        public CrossComponentIterator(Graph<V,E> g,
                                      V startVertex)
        Creates a new iterator for the specified graph. Iteration will start at the specified start vertex. If the specified start vertex is null, Iteration will start at an arbitrary graph vertex.
        Parameters:
        g - the graph to be iterated.
        startVertex - the vertex iteration to be started.
        Throws:
        java.lang.IllegalArgumentException - if g==null or does not contain startVertex
    • Method Detail

      • getGraph

        public Graph<V,E> getGraph()
        Returns:
        the graph being traversed
      • hasNext

        public boolean hasNext()
        See Also:
        Iterator.hasNext()
      • next

        public V next()
        See Also:
        Iterator.next()

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.