Package gov.nih.mipav.model.algorithms
Class CeresSolverTest.PowellEvaluator2
java.lang.Object
gov.nih.mipav.model.algorithms.CeresSolver.Evaluator
gov.nih.mipav.model.algorithms.CeresSolverTest.PowellEvaluator2
- Enclosing class:
CeresSolverTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate booleanprivate booleanprivate booleanprivate final intFields inherited from class gov.nih.mipav.model.algorithms.CeresSolver.Evaluator
options -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanEvaluate(CeresSolver.EvaluateOptions evaluate_options, double[] state, double[] cost, double[] residuals, double[] gradient, CeresSolver.SparseMatrix jacobian) booleanEvaluate(CeresSolver.EvaluateOptions evaluate_options, Vector<Double> state, double[] cost, Vector<Double> residuals, Vector<Double> gradient, CeresSolver.SparseMatrix jacobian) intintintbooleanPlus(double[] state, double[] delta, double[] state_plus_delta) booleanMethods inherited from class gov.nih.mipav.model.algorithms.CeresSolver.Evaluator
Evaluate, Statistics
-
Field Details
-
num_active_cols_
private final int num_active_cols_ -
col1
private boolean col1 -
col2
private boolean col2 -
col3
private boolean col3 -
col4
private boolean col4
-
-
Constructor Details
-
PowellEvaluator2
public PowellEvaluator2(boolean col1, boolean col2, boolean col3, boolean col4)
-
-
Method Details
-
CreateJacobian
- Specified by:
CreateJacobianin classCeresSolver.Evaluator
-
Evaluate
public boolean Evaluate(CeresSolver.EvaluateOptions evaluate_options, Vector<Double> state, double[] cost, Vector<Double> residuals, Vector<Double> gradient, CeresSolver.SparseMatrix jacobian) - Specified by:
Evaluatein classCeresSolver.Evaluator
-
Evaluate
public boolean Evaluate(CeresSolver.EvaluateOptions evaluate_options, double[] state, double[] cost, double[] residuals, double[] gradient, CeresSolver.SparseMatrix jacobian) - Specified by:
Evaluatein classCeresSolver.Evaluator
-
Plus
public boolean Plus(double[] state, double[] delta, double[] state_plus_delta) - Specified by:
Plusin classCeresSolver.Evaluator
-
Plus
- Specified by:
Plusin classCeresSolver.Evaluator
-
NumEffectiveParameters
public int NumEffectiveParameters()- Specified by:
NumEffectiveParametersin classCeresSolver.Evaluator
-
NumParameters
public int NumParameters()- Specified by:
NumParametersin classCeresSolver.Evaluator
-
NumResiduals
public int NumResiduals()- Specified by:
NumResidualsin classCeresSolver.Evaluator
-