|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface CGOptimizer.Optimizable
This is the interface you have to implement if you want to optimize using NRMin.
| Method Summary | |
|---|---|
double[] |
getVars()
This should return an array of variables you want optimized. |
double |
objectiveFunction()
The variables will be optimized in such a way as to minimize the value returned by calls to objectiveFunction(). |
void |
objectiveGradient(double[] rv)
The gradient function must return the gradient at the current point with respect to each variable in the vector. |
void |
setVars(double[] v)
This should set the optimizable variables to values from the array. |
| Method Detail |
|---|
double[] getVars()
void setVars(double[] v)
double objectiveFunction()
void objectiveGradient(double[] rv)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||