Class Descent


  • public class Descent
    extends java.lang.Object
    Optimizes the input to a function of type MultipleIntegerValue using the descent method
    • Constructor Summary

      Constructors 
      Constructor Description
      Descent()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int[] optimize​(MultipleIntegerValue v, int[] initial, int[] min, int[] max)
      Optimizes the input
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Descent

        public Descent()
    • Method Detail

      • optimize

        public int[] optimize​(MultipleIntegerValue v,
                              int[] initial,
                              int[] min,
                              int[] max)
        Optimizes the input
        Parameters:
        v - The function
        initial - The initial guess of best inputs
        min - The minimum allowed value for each input
        max - The maximum allowed value for each input
        Returns:
        Optimized inputs