Package Utils
Class Optimize
- java.lang.Object
-
- Utils.Optimize
-
public class Optimize extends java.lang.Object
Optimizes integer parameter values. There are probably better ways of doing this!
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
Optimize.OptimizeException
Optimization exception
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int[]
getBestParameter()
Returns the optimized parametersdouble
getBestValue()
Returns the optimized value
-
-
-
Constructor Detail
-
Optimize
public Optimize(Value value, int[] startmax, int[] absmax) throws Optimize.OptimizeException
Create a new optimizer- Parameters:
value
- The "object" that is to be optimizedstartmax
- The starting maximum values for each parameterabsmax
- The absolute maximum value for each parameter- Throws:
Optimize.OptimizeException
- If there's an error!
-
-