Package gov.nih.mipav.model.algorithms
Class CeresSolver.ProgramEvaluator<EvaluatePreparer,JacobianWriter,JacobianFinalizer>
java.lang.Object
gov.nih.mipav.model.algorithms.CeresSolver.Evaluator
gov.nih.mipav.model.algorithms.CeresSolver.ProgramEvaluator<EvaluatePreparer,JacobianWriter,JacobianFinalizer>
- Enclosing class:
CeresSolver
class CeresSolver.ProgramEvaluator<EvaluatePreparer,JacobianWriter,JacobianFinalizer>
extends CeresSolver.Evaluator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate EvaluatePreparer[]private CeresSolver.EvaluateScratch[]private CeresSolver.ExecutionSummaryprivate JacobianWriterprivate CeresSolver.EvaluatorOptionsprivate CeresSolver.ProgramFields inherited from class gov.nih.mipav.model.algorithms.CeresSolver.Evaluator
options -
Constructor Summary
ConstructorsConstructorDescriptionProgramEvaluator(JacobianWriter jw, CeresSolver.EvaluatorOptions options, CeresSolver.Program program) -
Method Summary
Modifier and TypeMethodDescriptionbooleanEvaluate(CeresSolver.EvaluateOptions evaluate_options, double[] state_array, double[] cost, double[] residuals_array, double[] gradient_array, 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
-
options_
-
program_
-
jacobian_writer_
-
evaluate_preparers_
-
evaluate_scratch_
-
residual_layout_
-
execution_summary_
-
-
Constructor Details
-
ProgramEvaluator
public ProgramEvaluator(JacobianWriter jw, CeresSolver.EvaluatorOptions options, CeresSolver.Program program)
-
-
Method Details
-
CreateJacobian
- Specified by:
CreateJacobianin classCeresSolver.Evaluator
-
NumParameters
public int NumParameters()- Specified by:
NumParametersin classCeresSolver.Evaluator
-
NumEffectiveParameters
public int NumEffectiveParameters()- Specified by:
NumEffectiveParametersin classCeresSolver.Evaluator
-
NumResiduals
public int NumResiduals()- Specified by:
NumResidualsin classCeresSolver.Evaluator
-
Plus
- Specified by:
Plusin classCeresSolver.Evaluator
-
Plus
public boolean Plus(double[] state, double[] delta, double[] state_plus_delta) - Specified by:
Plusin classCeresSolver.Evaluator
-
Evaluate
public boolean Evaluate(CeresSolver.EvaluateOptions evaluate_options, double[] state_array, double[] cost, double[] residuals_array, double[] gradient_array, CeresSolver.SparseMatrix jacobian) - Specified by:
Evaluatein 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
-