Class CeresSolver.RandomizedFunctor

  • Enclosing class:
    CeresSolver

    class CeresSolver.RandomizedFunctor
    extends java.lang.Object
    • Field Detail

      • noise_factor_

        private double noise_factor_
      • random_seed_

        private long random_seed_
      • random

        private java.util.Random random
    • Constructor Detail

      • RandomizedFunctor

        public RandomizedFunctor​(double noise_factor,
                                 long random_seed)
    • Method Detail

      • operator

        public boolean operator​(double[] x1,
                                double[] residuals)
      • ExpectCostFunctionEvaluationIsNearlyCorrect

        public void ExpectCostFunctionEvaluationIsNearlyCorrect​(CeresSolver.CostFunction cost_function,
                                                                java.lang.String testName,
                                                                boolean[] passed)