Package gov.nih.mipav.model.algorithms
Class CeresSolver.RandomizedFunctor
java.lang.Object
gov.nih.mipav.model.algorithms.CeresSolver.RandomizedFunctor
- Enclosing class:
CeresSolver
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidExpectCostFunctionEvaluationIsNearlyCorrect(CeresSolver.CostFunction cost_function, String testName, boolean[] passed) booleanoperator(double[] x1, double[] residuals)
-
Field Details
-
noise_factor_
private double noise_factor_ -
random_seed_
private long random_seed_ -
random
-
-
Constructor Details
-
RandomizedFunctor
public RandomizedFunctor(double noise_factor, long random_seed)
-
-
Method Details
-
operator
public boolean operator(double[] x1, double[] residuals) -
ExpectCostFunctionEvaluationIsNearlyCorrect
public void ExpectCostFunctionEvaluationIsNearlyCorrect(CeresSolver.CostFunction cost_function, String testName, boolean[] passed)
-