Package gov.nih.mipav.model.algorithms
Class CeresSolver.CostFunction
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.CeresSolver.CostFunction
-
- Direct Known Subclasses:
CeresSolver.BadTestTerm
,CeresSolver.DynamicCostFunction
,CeresSolver.GoodTestTerm
,CeresSolver.GradientCheckingCostFunction
,CeresSolver.LinearCostFunction
,CeresSolver.NormalPrior
,CeresSolver.SizedCostFunction
,CeresSolver.TestTerm
,CeresSolver2.ConditionedCostFunction
,CeresSolverTest.BinaryCostFunction
,CeresSolverTest.BinaryCostFunction3
,CeresSolverTest.BinaryCostFunction4
,CeresSolverTest.CurveCostFunction
,CeresSolverTest.LinearCostFunction2
,CeresSolverTest.NumParameterBlocksCostFunction
,CeresSolverTest.Osborne2Function
,CeresSolverTest.TernaryCostFunction
,CeresSolverTest.TernaryCostFunction2
,CeresSolverTest.TernaryCostFunction4
,CeresSolverTest.UnaryCostFunction
,CeresSolverTest.UnaryCostFunction3
,CeresSolverTest.UnaryCostFunction4
- Enclosing class:
- CeresSolver
class CeresSolver.CostFunction extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private int
num_residuals_
protected java.util.Vector<java.lang.Integer>
parameter_block_sizes_
-
Constructor Summary
Constructors Constructor Description CostFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
AddParameterBlock(int size)
boolean
Evaluate(java.util.Vector<double[]> parameters, double[] residuals, double[][] jacobians)
boolean
Evaluate(java.util.Vector<double[]> parameters, double[] residuals, double[][] jacobians, int[] jacobians_offset)
void
finalize()
protected java.util.Vector<java.lang.Integer>
mutable_parameter_block_sizes()
int
num_residuals()
java.util.Vector<java.lang.Integer>
parameter_block_sizes()
protected void
set_num_residuals(int num_residuals)
protected void
set_parameter_block_sizes(java.util.Vector<java.lang.Integer> parameter_block_sizes)
protected void
SetNumResiduals(int num_residuals)
-
-
-
Method Detail
-
parameter_block_sizes
public java.util.Vector<java.lang.Integer> parameter_block_sizes()
-
num_residuals
public int num_residuals()
-
mutable_parameter_block_sizes
protected java.util.Vector<java.lang.Integer> mutable_parameter_block_sizes()
-
set_num_residuals
protected void set_num_residuals(int num_residuals)
-
set_parameter_block_sizes
protected void set_parameter_block_sizes(java.util.Vector<java.lang.Integer> parameter_block_sizes)
-
AddParameterBlock
protected void AddParameterBlock(int size)
-
SetNumResiduals
protected void SetNumResiduals(int num_residuals)
-
Evaluate
public boolean Evaluate(java.util.Vector<double[]> parameters, double[] residuals, double[][] jacobians)
-
Evaluate
public boolean Evaluate(java.util.Vector<double[]> parameters, double[] residuals, double[][] jacobians, int[] jacobians_offset)
-
finalize
public void finalize()
- Overrides:
finalize
in classjava.lang.Object
-
-