Examples of evaluate()


Examples of org.zkoss.zk.ui.Execution.evaluate()

    if (!_title.equals(title)) {
      _title = title;
      if (_desktop != null) {
        final Execution exec = getExecution();
        if (_title.length() > 0) {
          _title = (String)exec.evaluate(this, _title, String.class);
          if (_title == null) _title = "";
        }

        if (exec.isAsyncUpdate(this))
          getUiEngine().addResponse(new AuSetTitle(_title));

Examples of org.zkoss.zk.xel.Evaluator.evaluate()

    }

    final Evaluator eval = getEvaluator(page, null);
    final Expression expression = eval.parseExpression(expr, expectedType);
    return self instanceof Page ?
      eval.evaluate((Page)self, expression):
      eval.evaluate((Component)self, expression);
  }

  public void include(Writer out, String page, Map params, int mode)
  throws IOException {

Examples of org.zkoss.zss.engine.xel.Token.evaluate()

    assertEquals("18.04", x);

    expr = "=\"1\" & \"2\"^3 + 4% / 0";
    root = parser.parse(expr, null, null);
    try {
      x = root.evaluate(null);
    } catch (SSErrorXelException ex) {
      assertEquals(SSError.DIV0, ex.getSSError());
    }
    expr = "=1234567890^1E+96";
    root = parser.parse(expr, null, null);

Examples of plm.util.gaussian.GaussianArHpEvaluator.evaluate()

            wfWatch.stop();
            final long latency = wfWatch.elapsed(TimeUnit.MILLISECONDS);
            wfLatency.accumulate(new MutableDouble(latency));
          }
         
          wfEvaluator.evaluate(k, simulations.get(i), wfDistribution);
        }

        if ((i+1) % (T/4d) < 1) {
          log.info(Joiner.on("\t").join(new String[] {
              Integer.toString(k),

Examples of plm.util.hmm.gaussian.GaussianArHmmClassEvaluator.evaluate()

                "wf-pl", "latency", "NA",
                Long.toString(latency)})
                );
          }
         
          wfClassEvaluator.evaluate(k, simulation.get(i), wfDistribution);
          wfRmseEvaluator.evaluate(k, simulation.get(i), wfDistribution);
          wfPsiEvaluator.evaluate(k, simulation.get(i), wfDistribution);
        }

        if ((i+1) % (T/4d) < 1) {

Examples of plm.util.hmm.gaussian.GaussianArHmmPsiLearningEvaluator.evaluate()

                );
          }
         
          wfClassEvaluator.evaluate(k, simulation.get(i), wfDistribution);
          wfRmseEvaluator.evaluate(k, simulation.get(i), wfDistribution);
          wfPsiEvaluator.evaluate(k, simulation.get(i), wfDistribution);
        }

        if ((i+1) % (T/4d) < 1) {
          log.info("avg. wf latency=" + wfLatency.getMean().value);
          log.info("avg. wfRmse=" + wfRmseEvaluator.getTotalRate().getMean().value);

Examples of plm.util.hmm.gaussian.GaussianArHmmRmseEvaluator.evaluate()

        final ObservedValue<Double, Void> obsState = new SimHmmObservedValue<Double, Double>(i,
           (int)x , simulation.get(i).getState().getElement(0), y);

        if (i > 0) {
          rsFilter.update(rsDistribution, obsState);
          mkfRmseEvaluator.evaluate(k, simulation.get(i), rsDistribution);
        }

        if ((i+1) % (T/4d) < 1) {
          log.info("avg. mkfRmse=" + mkfRmseEvaluator.getTotalRate().getMean().value);
        }

Examples of railo.runtime.img.math.Function2D.evaluate()

        if (bumpSource != BUMPS_FROM_BEVEL) {
          // Complicated and slower method
          // Calculate four normals using the gradients in +/- X/Y directions
          int count = 0;
          normal.x = normal.y = normal.z = 0;
          float m0 = width45*bump.evaluate(nx, ny);
          float m1 = x > 0 ? width45*bump.evaluate(nx - 1.0f, ny)-m0 : -2;
          float m2 = y > 0 ? width45*bump.evaluate(nx, ny - 1.0f)-m0 : -2;
          float m3 = x < width-1 ? width45*bump.evaluate(nx + 1.0f, ny)-m0 : -2;
          float m4 = y < height-1 ? width45*bump.evaluate(nx, ny + 1.0f)-m0 : -2;
         

Examples of ro.isdc.wro.extensions.script.RhinoScriptBuilder.evaluate()

    // TODO handle reservedNames
    final String optionsAsJson = createOptionsAsJson();
    Validate.notNull(optionsAsJson);
    final String scriptAsString = String.format(getInvokeScript(), originalCode, optionsAsJson);
    watch.start(uglify ? "uglify" : "beautify");
    final Object result = builder.evaluate(scriptAsString, "uglifyIt");
   
    watch.stop();
    LOG.debug(watch.prettyPrint());
    return String.valueOf(result);
  }

Examples of rulesystem.ruleinput.RuleInput.evaluate()

            String inputValue = inputMap.get(colName);
            RuleInput ruleInput = this.fieldMap.get(colName);

            // Actual comparison is determined by the input types. So over to them.
            if (ruleInput.evaluate(inputValue)) {
                continue;
            } else {
                return false;
            }
        }
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.