Class MpiPartition

    • Constructor Detail

      • MpiPartition

        public MpiPartition()
      • MpiPartition

        public MpiPartition​(Mpi[] elements)
    • Method Detail

      • toString

        public String toString()
        Returns a sum-like representation of this partitions, with parts separated by "+" and the multiplicity indicated by "*". Biggest parts are shown first. Some example partitions of the multipartite number [3, 2, 1]: [3, 2, 1], [3, 2, 0] + [0, 0, 1], [3, 1, 1] + [0, 1, 0], [3, 1, 0] + [0, 1, 1], [3, 1, 0] + [0, 1, 0] + [0, 0, 1], [3, 0, 1] + [0, 2, 0], [3, 0, 1] + 2*[0, 1, 0], ...
        Specified by:
        toString in interface Multiset<Mpi>
        Overrides:
        toString in class AbstractMap<Mpi,​Integer>