Package gov.nih.mipav.model.algorithms
Class CeresSolverTest.QuadraticTestFunction
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.CeresSolver.FirstOrderFunction
-
- gov.nih.mipav.model.algorithms.CeresSolverTest.QuadraticTestFunction
-
- Enclosing class:
- CeresSolverTest
class CeresSolverTest.QuadraticTestFunction extends CeresSolver.FirstOrderFunction
-
-
Field Summary
Fields Modifier and Type Field Description private boolean[]flag_to_set_on_destruction_
-
Constructor Summary
Constructors Constructor Description QuadraticTestFunction(boolean[] flag_to_set_on_destruction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanEvaluate(double[] parameters, double[] cost, double[] gradient)voidfinalize()intNumParameters()
-
-
-
Method Detail
-
finalize
public void finalize()
- Overrides:
finalizein classCeresSolver.FirstOrderFunction
-
Evaluate
public boolean Evaluate(double[] parameters, double[] cost, double[] gradient)- Specified by:
Evaluatein classCeresSolver.FirstOrderFunction
-
NumParameters
public int NumParameters()
- Specified by:
NumParametersin classCeresSolver.FirstOrderFunction
-
-