FrobeniusNumber
cc.redberry.core.solver.frobenius

Class FrobeniusNumber



  • public class FrobeniusNumberextends Object
    • Constructor Detail

      • FrobeniusNumber

        public FrobeniusNumber()
    • Method Detail

      • frobeniusNumber

        public static BigInteger frobeniusNumber(int[] array)
        Returns Frobenius number


        The implementation is taken from
        http://dansesacrale.wordpress.com/2010/09/20/frobenius-numbers-round-robin-algorithm/

        Parameters:
        array - "coins denominations"
        Returns:
        Frobenius number
      • frobeniusNumber

        public static BigInteger frobeniusNumber(long[] array)
        Returns Frobenius number


        The implementation is taken from
        http://dansesacrale.wordpress.com/2010/09/20/frobenius-numbers-round-robin-algorithm/

        Parameters:
        array - "coins denominations"
        Returns:
        Frobenius number
      • frobeniusNumber

        public static BigInteger frobeniusNumber(BigInteger[] array)
        Returns Frobenius number


        The implementation is taken from
        http://dansesacrale.wordpress.com/2010/09/20/frobenius-numbers-round-robin-algorithm/

        Parameters:
        array - "coins denominations"
        Returns:
        Frobenius number
      • frobeniusNumberBigIntArray

        public static BigInteger frobeniusNumberBigIntArray(BigInteger[] array)

SCaVis 2.1 © jWork.ORG