Class DefaultGraphIterables<V,E>

java.lang.Object
org.jgrapht.graph.DefaultGraphIterables<V,E>
Type Parameters:
V - the graph vertex type
E - the graph edge type
All Implemented Interfaces:
GraphIterables<V,E>

public class DefaultGraphIterables<V,E> extends Object implements GraphIterables<V,E>
The default implementation of the graph iterables which simply delegates to the set implementations.
Author:
Dimitrios Michail
  • Field Details

    • graph

      protected Graph<V,E> graph
      The underlying graph
  • Constructor Details

    • DefaultGraphIterables

      public DefaultGraphIterables()
      Create new graph iterables
    • DefaultGraphIterables

      public DefaultGraphIterables(Graph<V,E> graph)
      Create new graph iterables
      Parameters:
      graph - the underlying graph
  • Method Details