Class PartitioningAlgorithm.PartitioningImpl<V>

    • Constructor Detail

      • PartitioningImpl

        public PartitioningImpl​(List<Set<V>> classes)
        Construct a new vertex partitioning.
        Parameters:
        classes - the partition classes
        Throws:
        NullPointerException - if classes is null
      • PartitioningImpl

        public PartitioningImpl​(Map<V,​Integer> vertexToPartitionMap)
        Construct a new vertex partitioning.
        Parameters:
        vertexToPartitionMap - the vertex to partition index map
        Throws:
        NullPointerException - if vertexToPartitionMap is null