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
class CeresSolverTest.PowellEvaluator2 extends CeresSolver.Evaluator
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
col1
private boolean
col2
private boolean
col3
private boolean
col4
private int
num_active_cols_
-
Fields inherited from class gov.nih.mipav.model.algorithms.CeresSolver.Evaluator
options
-
-
Constructor Summary
Constructors Constructor Description PowellEvaluator2(boolean col1, boolean col2, boolean col3, boolean col4)
-
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)
-
Methods inherited from class gov.nih.mipav.model.algorithms.CeresSolver.Evaluator
Evaluate, Statistics
-
-
-
-
Method Detail
-
CreateJacobian
public CeresSolver.SparseMatrix CreateJacobian()
- Specified by:
CreateJacobian
in classCeresSolver.Evaluator
-
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
-
NumEffectiveParameters
public int NumEffectiveParameters()
- Specified by:
NumEffectiveParameters
in classCeresSolver.Evaluator
-
NumParameters
public int NumParameters()
- Specified by:
NumParameters
in classCeresSolver.Evaluator
-
NumResiduals
public int NumResiduals()
- Specified by:
NumResiduals
in classCeresSolver.Evaluator
-
-