public abstract class OptimizationConfig
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
defaultMaxNumFunctionCall |
Constructor and Description |
---|
OptimizationConfig() |
OptimizationConfig(double[] initGuess,
double[] lo,
double[] hi,
MultivariableFunction fun) |
OptimizationConfig(double[] initGuess,
double[] lo,
double[] hi,
MultivariableFunction fun,
int maxCall,
boolean isMin) |
Modifier and Type | Method and Description |
---|---|
double[] |
getInitialGuess() |
double[] |
getLowerBound() |
int |
getMaxNumFunctionCall() |
MultivariableFunction |
getObjectiveFunction() |
double[] |
getUpperBound() |
boolean |
isMinimize() |
void |
setInitialGuess(double[] initialGuess) |
void |
setLowerBound(double[] lowerBound) |
void |
setMaxNumFunctionCall(int maxNumFunctionCall) |
void |
setMinimize(boolean isMinimize) |
void |
setObjectiveFunction(MultivariableFunction objectiveFunction) |
void |
setUpperBound(double[] upperBound) |
public static final int defaultMaxNumFunctionCall
public OptimizationConfig()
public OptimizationConfig(double[] initGuess, double[] lo, double[] hi, MultivariableFunction fun)
public OptimizationConfig(double[] initGuess, double[] lo, double[] hi, MultivariableFunction fun, int maxCall, boolean isMin)
public double[] getInitialGuess()
public void setInitialGuess(double[] initialGuess)
public double[] getLowerBound()
public void setLowerBound(double[] lowerBound)
public double[] getUpperBound()
public void setUpperBound(double[] upperBound)
public int getMaxNumFunctionCall()
public void setMaxNumFunctionCall(int maxNumFunctionCall)
public boolean isMinimize()
public void setMinimize(boolean isMinimize)
public MultivariableFunction getObjectiveFunction()
public void setObjectiveFunction(MultivariableFunction objectiveFunction)