Interface IGraph<V,E>

All Known Implementing Classes:
DefaultGraph

public interface IGraph<V,E>
  • Method Details

    • addVertex

      void addVertex(V vertex)
    • addEdge

      void addEdge(E edge, V v1, V v2)
    • getVertex

      V getVertex(int i)
    • getRandomVertex

      V getRandomVertex()
    • getVertices

      List<V> getVertices()
    • getEdges

      List<E> getEdges()
    • getEdgeStartVertex

      V getEdgeStartVertex(E e)
    • getEdgeStopVertex

      V getEdgeStopVertex(E e)