Examples of evaluate()


Examples of DSP.fft.RDFT.evaluate()

    double[] tmp       = new double[ nfft ];
    double[] transform = new double[ nfft ];
    double[] kernel    = new double[ nfft ];
   
    System.arraycopy( x, 0, tmp, 0, x.length );
    fft.evaluate( tmp, transform  );
   
    Arrays.fill( tmp, 0.0f );
    System.arraycopy( coefficients, 0, tmp, 0, coefficients.length );
    fft.evaluate( tmp, kernel );
   

Examples of DSP.filter.LagrangePolynomial.evaluate()

      LagrangePolynomial LP = constructInterpolatingPolynomial( G, delta );
   
      //  Compute current approximant (GA) and error function (E) on grid
   
      for ( int i = 0;  i < G.gridSize;  i++ ) {
        GA[i] = LP.evaluate( G.X[i] );
        E[i= GA[i] - G.H[i];
      }
     
      // Search for new extrema starting from old extrema
     

Examples of aima.core.agent.impl.aprog.simplerule.Rule.evaluate()

    Assert.assertEquals(
        "if car-in-front-is-braking==true then Action[name==initiate-braking].",
        r.toString());

    Assert.assertEquals(true, r.evaluate(new DynamicPercept(
        ATTRIBUTE_CAR_IN_FRONT_IS_BRAKING, true)));

    Assert.assertEquals(false, r.evaluate(new DynamicPercept(
        ATTRIBUTE_CAR_IN_FRONT_IS_BRAKING, false)));

Examples of at.tuwien.minimee.migration.evaluators.IMinimeeEvaluator.evaluate()

                IMinimeeEvaluator evaluator = ToolRegistry.getInstance().getEvaluator(evaluatorName);
                if (evaluator == null) {
                    log.error("Error in ToolConfig, could not find evaluator: " + evaluatorName);
                } else {
                    if (evaluator != null) {
                        List<Measurement> list = evaluator.evaluate(tempDir,
                                inputFile,
                                outputFile);
                        for (Measurement m: list) {
                            result.getMeasurements().put(m.getProperty().getName(), m);
                        }

Examples of at.tuwien.minimee.migration.evaluators.ImageCompareEvaluator.evaluate()

                    continue;
                }
                if ((propertyURI != null) && propertyURI.startsWith(OBJECT_IMAGE_SIMILARITY +"#")) {
                    Value v = null;
                    if (fragment.equals("equal")) {
                        Double d= imageEvaluator.evaluate(tempDir.getAbsolutePath(),
                                tempFiles.get(sample),
                                tempFiles.get(result),
                                "AE");
                       
                        if (d.compareTo(Scale.MAX_VALUE) == 0) {

Examples of brickhouse.hbase.SaltedBigIntUDF.evaluate()

  @Test
  public void testSaltId() {
    SaltedBigIntUDF salty = new SaltedBigIntUDF();
   
    long joe = 44;
    String joeSalt = salty.evaluate( joe);
   
    System.out.println(" Joe's Salt = " + joeSalt);
    Assert.assertEquals("0044:44", joeSalt);
   
    long jerome = 995034;

Examples of brickhouse.udf.sketch.SetSimilarityUDF.evaluate()

      randomUUID = UUID.randomUUID();
      c.addItem( randomUUID.toString());
    }
    SetSimilarityUDF simUDF = new SetSimilarityUDF();
   
    double same = simUDF.evaluate(a.getMinHashItems(), a.getMinHashItems());
    System.out.println( "Similarity with self = " + same);
    Assert.assertEquals( 1.0, same, 0);
   
    double diff = simUDF.evaluate(a.getMinHashItems(), b.getMinHashItems());
    System.out.println( "Similarity with different  = " + diff);

Examples of bunchbridge.BunchFitnessAdaptor.evaluate()

       
        BunchFitnessAdaptor instance = new BunchFitnessAdaptor("bunch.TurboMQ");
        instance.setTree(ch);

        double result = instance.evaluate(ch);
        assertTrue(result > 0);
    }

}

Examples of ca.eandb.jmist.framework.Function1.evaluate()

    double mesophyllFraction = bifacial ? 0.5 : 0.8;
    mesophyllThickness = mesophyllFraction * wholeLeafThickness;

    double lambda = 550e-9;
    System.out.printf("mesophyllAbsorptionCoefficient=%f", mesophyllAbsorptionCoefficient.evaluate(lambda));
    System.out.println();
    System.out.printf("mesophyllThickness=%f", mesophyllThickness);
    System.out.println();
    System.out.printf("mesophyllOpticalDepth=%f", mesophyllAbsorptionCoefficient.evaluate(lambda) * mesophyllThickness);
    System.out.println();

Examples of ca.eandb.jmist.framework.function.AXpBFunction1.evaluate()

    System.out.println();
    System.out.printf("nWater=%f", IOR_WATER.evaluate(lambda));
    System.out.println();
    System.out.printf("sacWater=%f", SAC_WATER.evaluate(lambda));
    System.out.println();
    System.out.printf("nWall=%f", iorAntidermalWall.evaluate(lambda));
    System.out.println();
    System.out.printf("nMesophyll=%f", iorMesophyll.evaluate(lambda));
    System.out.println();
    System.out.printf("dryBulkDensity=%f", dryBulkDensity);
    System.out.println();
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.