org.omegahat.Numerics.Optimizers
Interface ModelPointNumericInt
- All Superinterfaces:
- ModelPoint
- All Known Implementing Classes:
- ModelPointNumeric, ModelPointDatabase
- public interface ModelPointNumericInt
- extends ModelPoint
An extension to ModelPoint which
provides methods for computing numerical quantities such
as the gradient and hessian.
evaluate
public void evaluate()
- Evaluate the model at the current point, using the model
property to define the objective. Store the resulting value and optional gradient and hessian
in this object and set the evaluated property to true.
getParameters
public NumericArray getParameters()
setParameters
public NumericArray setParameters(NumericArray value)
getValue
public double getValue()
setValue
public double setValue(double value)
getGradient
public NumericArray getGradient()
setGradient
public NumericArray setGradient(NumericArray value)
getHessian
public NumericMatrix getHessian()
setHessian
public NumericMatrix setHessian(NumericMatrix value)
isEvaluated
public boolean isEvaluated()
setEvaluated
public boolean setEvaluated(boolean value)
getNames
public java.lang.String[] getNames()
setNames
public java.lang.String[] setNames(java.lang.String[] labels)
getModel
public ModelObjective getModel()
setModel
public ModelObjective setModel(ModelObjective value)