Package gov.nih.mipav.model.algorithms
Class CeresSolver.RandomizedFunctor
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.CeresSolver.RandomizedFunctor
-
- Enclosing class:
- CeresSolver
class CeresSolver.RandomizedFunctor extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private double
noise_factor_
private java.util.Random
random
private long
random_seed_
-
Constructor Summary
Constructors Constructor Description RandomizedFunctor(double noise_factor, long random_seed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
ExpectCostFunctionEvaluationIsNearlyCorrect(CeresSolver.CostFunction cost_function, java.lang.String testName, boolean[] passed)
boolean
operator(double[] x1, double[] residuals)
-
-
-
Method Detail
-
operator
public boolean operator(double[] x1, double[] residuals)
-
ExpectCostFunctionEvaluationIsNearlyCorrect
public void ExpectCostFunctionEvaluationIsNearlyCorrect(CeresSolver.CostFunction cost_function, java.lang.String testName, boolean[] passed)
-
-