Class GraphUtil


  • public final class GraphUtil
    extends Object
    Author:
    Geoffroy Jamgotchian
    • Method Detail

      • removeIsolatedVertices

        public static <V,​E> void removeIsolatedVertices​(UndirectedGraph<V,​E> graph)
        Remove from the {@param graph} vertices which are not connected to any edge, and which have no associated object.