Class IntegerPartition

    • Constructor Detail

      • IntegerPartition

        public IntegerPartition​(int[] elements)
        Constructor from flat element array.
        Parameters:
        elements -
    • Method Detail

      • sum

        public int sum()
        Returns:
        the sum over all entries, taking into account their frequencies.
      • getNumberOfRealizations

        public BigInteger getNumberOfRealizations()
        Returns:
        The number of ways to realize this partition.