Class SimpleDirectedGraph<V,​E>

    • Constructor Detail

      • SimpleDirectedGraph

        public SimpleDirectedGraph​(java.lang.Class<? extends E> edgeClass)
        Creates a new simple directed graph.
        Parameters:
        edgeClass - class on which to base factory for edges
      • SimpleDirectedGraph

        public SimpleDirectedGraph​(EdgeFactory<V,​E> ef)
        Creates a new simple directed graph with the specified edge factory.
        Parameters:
        ef - the edge factory of the new graph.