Class VertexGroupComputeUtil


  • public final class VertexGroupComputeUtil
    extends Object
    Common utils for processing vertex groups.
    • Method Detail

      • mergeVertexGroups

        public static <V> Set<V> mergeVertexGroups​(Set<V> group1,
                                                   Set<V> group2,
                                                   Map<V,​Set<V>> vertexToGroup)
      • uniqueVertexGroups

        public static <V> Set<Set<V>> uniqueVertexGroups​(Map<V,​Set<V>> vertexToGroup)