Package gov.nih.mipav.model.algorithms
Class CeresSolver.Evaluator
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.CeresSolver.Evaluator
-
- Direct Known Subclasses:
CeresSolver.GradientProblemEvaluator
,CeresSolver.ProgramEvaluator
,CeresSolverTest.PowellEvaluator2
- Enclosing class:
- CeresSolver
abstract class CeresSolver.Evaluator extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description CeresSolver.EvaluatorOptions
options
-
Constructor Summary
Constructors Constructor Description Evaluator()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract CeresSolver.SparseMatrix
CreateJacobian()
boolean
Evaluate(double[] state, double[] cost, double[] residuals, double[] gradient, CeresSolver.SparseMatrix jacobian)
abstract boolean
Evaluate(CeresSolver.EvaluateOptions evaluate_options, double[] state, double[] cost, double[] residuals, double[] gradient, CeresSolver.SparseMatrix jacobian)
abstract 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)
abstract int
NumEffectiveParameters()
abstract int
NumParameters()
abstract int
NumResiduals()
abstract boolean
Plus(double[] state, double[] delta, double[] state_plus_delta)
abstract 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()
-
-
-
Field Detail
-
options
public CeresSolver.EvaluatorOptions options
-
-
Method Detail
-
Plus
public abstract 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)
-
Plus
public abstract boolean Plus(double[] state, double[] delta, double[] state_plus_delta)
-
NumParameters
public abstract int NumParameters()
-
NumEffectiveParameters
public abstract int NumEffectiveParameters()
-
NumResiduals
public abstract int NumResiduals()
-
Evaluate
public abstract boolean Evaluate(CeresSolver.EvaluateOptions evaluate_options, double[] state, double[] cost, double[] residuals, double[] gradient, CeresSolver.SparseMatrix jacobian)
-
Evaluate
public abstract 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)
-
Evaluate
public boolean Evaluate(double[] state, double[] cost, double[] residuals, double[] gradient, CeresSolver.SparseMatrix jacobian)
-
Statistics
public java.util.HashMap<java.lang.String,CeresSolver.CallStatistics> Statistics()
-
CreateJacobian
public abstract CeresSolver.SparseMatrix CreateJacobian()
-
-