Interface UndirectedGraph<V>

    • Method Detail

      • getVertices

        V[] getVertices()
      • getEdges

        java.lang.Iterable<java.lang.Long> getEdges()
      • addEdge

        void addEdge​(int nodeIndexA,
                     int nodeIndexB)
      • hasEdge

        boolean hasEdge​(int nodeIndexA,
                        int nodeIndexB)
      • getEdgeNodeIndexA

        int getEdgeNodeIndexA​(long edgeIndex)
      • getEdgeNodeA

        V getEdgeNodeA​(long edgeIndex)
      • getEdgeNodeIndexB

        int getEdgeNodeIndexB​(long edgeIndex)
      • getEdgeNodeB

        V getEdgeNodeB​(long edgeIndex)