org.strbio.util
Interface Hooke.Optimizable

Enclosing class:
Hooke

public static interface Hooke.Optimizable

This is the interface you have to implement if you want to optimize using Hooke.


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 setVars(double[] v)
          This should set the optimizable variables to values from the array.
 

Method Detail

getVars

double[] getVars()
This should return an array of variables you want optimized.


setVars

void setVars(double[] v)
This should set the optimizable variables to values from the array. The array is in the same order as in getVars.


objectiveFunction

double objectiveFunction()
The variables will be optimized in such a way as to minimize the value returned by calls to objectiveFunction().