Class BaseGraph<V,​E>

  • All Implemented Interfaces:
    IGraph<V,​E>
    Direct Known Subclasses:
    Graph

    public abstract class BaseGraph<V,​E>
    extends Object
    implements IGraph<V,​E>
    • Constructor Detail

      • BaseGraph

        public BaseGraph()
    • Method Detail

      • addEdge

        public void addEdge​(int from,
                            int to,
                            E value,
                            boolean directed)
        Description copied from interface: IGraph
        Convenience method for adding an edge (directed or undirected) to graph
        Specified by:
        addEdge in interface IGraph<V,​E>