Package Utils.Optimize
Class Descent
- java.lang.Object
-
- Utils.Optimize.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
-
-
-
Method Detail
-
optimize
public int[] optimize(MultipleIntegerValue v, int[] initial, int[] min, int[] max)
Optimizes the input- Parameters:
v
- The functioninitial
- The initial guess of best inputsmin
- The minimum allowed value for each inputmax
- The maximum allowed value for each input- Returns:
- Optimized inputs
-
-