Package gov.nih.mipav.model.algorithms
Class CeresSolverTest.WigglyBowlCostFunctionAndEvaluationCallback
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.CeresSolver.CostFunction
-
- gov.nih.mipav.model.algorithms.CeresSolver.SizedCostFunction
-
- gov.nih.mipav.model.algorithms.CeresSolverTest.WigglyBowlCostFunctionAndEvaluationCallback
-
- Enclosing class:
- CeresSolverTest
class CeresSolverTest.WigglyBowlCostFunctionAndEvaluationCallback extends CeresSolver.SizedCostFunction
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) class
CeresSolverTest.WigglyBowlCostFunctionAndEvaluationCallback.InnerClass
-
Field Summary
Fields Modifier and Type Field Description long
evaluate_last_parameter_hash
int
evaluate_num_calls
CeresSolverTest.WigglyBowlCostFunctionAndEvaluationCallback.InnerClass
innerClass
double
lastx
double
lasty
(package private) boolean[]
passed
boolean
prepare_new_evaluation_point
int
prepare_num_calls
long
prepare_parameter_hash
boolean
prepare_requested_jacobians
(package private) java.lang.String
testName
double[]
user_parameter_block
-
Fields inherited from class gov.nih.mipav.model.algorithms.CeresSolver.CostFunction
parameter_block_sizes_
-
-
Constructor Summary
Constructors Constructor Description WigglyBowlCostFunctionAndEvaluationCallback(double[] parameter, java.lang.String testName, boolean[] passed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
Evaluate(java.util.Vector<double[]> parameters, double[] residuals, double[][] jacobians)
boolean
Evaluate(java.util.Vector<double[]> parameters, double[] residuals, double[][] jacobians, int[] jacobian_offset)
CeresSolverTest.WigglyBowlCostFunctionAndEvaluationCallback.InnerClass
getInnerClass()
-
Methods inherited from class gov.nih.mipav.model.algorithms.CeresSolver.SizedCostFunction
finalize
-
Methods inherited from class gov.nih.mipav.model.algorithms.CeresSolver.CostFunction
AddParameterBlock, mutable_parameter_block_sizes, num_residuals, parameter_block_sizes, set_num_residuals, set_parameter_block_sizes, SetNumResiduals
-
-
-
-
Field Detail
-
user_parameter_block
public double[] user_parameter_block
-
prepare_num_calls
public int prepare_num_calls
-
prepare_requested_jacobians
public boolean prepare_requested_jacobians
-
prepare_new_evaluation_point
public boolean prepare_new_evaluation_point
-
prepare_parameter_hash
public long prepare_parameter_hash
-
lastx
public double lastx
-
lasty
public double lasty
-
evaluate_num_calls
public int evaluate_num_calls
-
evaluate_last_parameter_hash
public long evaluate_last_parameter_hash
-
innerClass
public CeresSolverTest.WigglyBowlCostFunctionAndEvaluationCallback.InnerClass innerClass
-
testName
java.lang.String testName
-
passed
boolean[] passed
-
-
Method Detail
-
getInnerClass
public CeresSolverTest.WigglyBowlCostFunctionAndEvaluationCallback.InnerClass getInnerClass()
-
Evaluate
public boolean Evaluate(java.util.Vector<double[]> parameters, double[] residuals, double[][] jacobians)
- Overrides:
Evaluate
in classCeresSolver.CostFunction
-
Evaluate
public boolean Evaluate(java.util.Vector<double[]> parameters, double[] residuals, double[][] jacobians, int[] jacobian_offset)
- Overrides:
Evaluate
in classCeresSolver.CostFunction
-
-