Package gov.nih.mipav.model.algorithms
Class CeresSolver.GradientProblemEvaluator
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.CeresSolver.Evaluator
-
- gov.nih.mipav.model.algorithms.CeresSolver.GradientProblemEvaluator
-
- Enclosing class:
- CeresSolver
class CeresSolver.GradientProblemEvaluator extends CeresSolver.Evaluator
-
-
Field Summary
Fields Modifier and Type Field Description private CeresSolver.ExecutionSummary
execution_summary_
private CeresSolver.GradientProblem
problem_
-
Fields inherited from class gov.nih.mipav.model.algorithms.CeresSolver.Evaluator
options
-
-
Constructor Summary
Constructors Constructor Description GradientProblemEvaluator(CeresSolver.GradientProblem problem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CeresSolver.SparseMatrix
CreateJacobian()
boolean
Evaluate(CeresSolver.EvaluateOptions evaluate_options, double[] state, double[] cost, double[] residuals, double[] gradient, CeresSolver.SparseMatrix jacobian)
boolean
Evaluate(CeresSolver.EvaluateOptions evaluate_options, java.util.Vector<java.lang.Double> state, double[] cost, java.util.Vector<java.lang.Double> residuals, java.util.Vector<java.lang.Double> gradient, CeresSolver.SparseMatrix jacobian)
int
NumEffectiveParameters()
int
NumParameters()
int
NumResiduals()
boolean
Plus(double[] state, double[] delta, double[] state_plus_delta)
boolean
Plus(java.util.Vector<java.lang.Double> state, java.util.Vector<java.lang.Double> delta, java.util.Vector<java.lang.Double> state_plus_delta)
java.util.HashMap<java.lang.String,CeresSolver.CallStatistics>
Statistics()
-
Methods inherited from class gov.nih.mipav.model.algorithms.CeresSolver.Evaluator
Evaluate
-
-
-
-
Field Detail
-
problem_
private CeresSolver.GradientProblem problem_
-
execution_summary_
private CeresSolver.ExecutionSummary execution_summary_
-
-
Constructor Detail
-
GradientProblemEvaluator
public GradientProblemEvaluator(CeresSolver.GradientProblem problem)
-
-
Method Detail
-
Evaluate
public boolean Evaluate(CeresSolver.EvaluateOptions evaluate_options, java.util.Vector<java.lang.Double> state, double[] cost, java.util.Vector<java.lang.Double> residuals, java.util.Vector<java.lang.Double> gradient, CeresSolver.SparseMatrix jacobian)
- Specified by:
Evaluate
in classCeresSolver.Evaluator
-
Evaluate
public boolean Evaluate(CeresSolver.EvaluateOptions evaluate_options, double[] state, double[] cost, double[] residuals, double[] gradient, CeresSolver.SparseMatrix jacobian)
- Specified by:
Evaluate
in classCeresSolver.Evaluator
-
Plus
public boolean Plus(double[] state, double[] delta, double[] state_plus_delta)
- Specified by:
Plus
in classCeresSolver.Evaluator
-
Plus
public boolean Plus(java.util.Vector<java.lang.Double> state, java.util.Vector<java.lang.Double> delta, java.util.Vector<java.lang.Double> state_plus_delta)
- Specified by:
Plus
in classCeresSolver.Evaluator
-
CreateJacobian
public CeresSolver.SparseMatrix CreateJacobian()
- Specified by:
CreateJacobian
in classCeresSolver.Evaluator
-
NumParameters
public int NumParameters()
- Specified by:
NumParameters
in classCeresSolver.Evaluator
-
NumEffectiveParameters
public int NumEffectiveParameters()
- Specified by:
NumEffectiveParameters
in classCeresSolver.Evaluator
-
NumResiduals
public int NumResiduals()
- Specified by:
NumResiduals
in classCeresSolver.Evaluator
-
Statistics
public java.util.HashMap<java.lang.String,CeresSolver.CallStatistics> Statistics()
- Overrides:
Statistics
in classCeresSolver.Evaluator
-
-