Examples of evaluate()


Examples of com.opengamma.analytics.math.statistics.descriptive.SampleStandardDeviationCalculator.evaluate()

    SampleStandardDeviationCalculator standardDeviation = new SampleStandardDeviationCalculator();

    double[] spreads = getSpreads(underlyingPool, creditSpreadTenors, creditSpreadTermStructures, creditSpreadTenor);

    return standardDeviation.evaluate(spreads);
  }

  // ----------------------------------------------------------------------------------------------------------------------------------------

  // Calculate the skewness of the spread of the obligors in the underlying pool for a given tenor

Examples of com.opengamma.analytics.math.statistics.descriptive.SampleVarianceCalculator.evaluate()

    SampleVarianceCalculator variance = new SampleVarianceCalculator();

    double[] spreads = getSpreads(underlyingPool, creditSpreadTenors, creditSpreadTermStructures, creditSpreadTenor);

    return variance.evaluate(spreads);
  }

  // ----------------------------------------------------------------------------------------------------------------------------------------

  // Calculate the standard deviation of the spread of the obligors in the underlying pool for a given tenor

Examples of com.opengamma.analytics.math.surface.InterpolatedSurfaceAdditiveShiftFunction.evaluate()

    final InterpolatedDoublesSurface blackSurf = (InterpolatedDoublesSurface) surface;
    final InterpolatedSurfaceAdditiveShiftFunction volShifter = new InterpolatedSurfaceAdditiveShiftFunction();

    // shift UP
    final InterpolatedDoublesSurface bumpedVolUp = volShifter.evaluate(blackSurf, maturity, strike, shift);
    StaticReplicationDataBundle bumpedMarket = new StaticReplicationDataBundle(market.getVolatilitySurface().withSurface(bumpedVolUp), market.getDiscountCurve(),
        market.getForwardCurve());
    final double pvUp = derivative.accept(_pricer, bumpedMarket);

    // shift DOWN

Examples of com.opengamma.financial.expression.UserExpression.Evaluator.evaluate()

      public Object getValue(final String name) {
        return s_dynamicAttributes.getValue(position, name);
      }
    });
    eval.setDynamicAttributes(s_dynamicAttributes);
    return Boolean.TRUE.equals(eval.evaluate());
  }

}

Examples of com.orientechnologies.orient.core.sql.filter.OSQLFilterCondition.evaluate()

      final Collection<ORecordSchemaAware<?>> collection = (Collection<ORecordSchemaAware<?>>) iLeft;

      if (condition != null) {
        // CHECK AGAINST A CONDITION
        for (final ORecordSchemaAware<?> o : collection) {
          if ((Boolean) condition.evaluate(o) == Boolean.FALSE)
            return false;
        }
      } else {
        // CHECK AGAINST A SINGLE VALUE
        for (final Object o : collection) {

Examples of com.orientechnologies.orient.core.sql.filter.OSQLPredicate.evaluate()

  public Object evaluate(final OCommandContext iContext, final String iExpression) {
    if (iExpression == null)
      throw new OProcessException("Null expression");

    final OSQLPredicate predicate = new OSQLPredicate((String) resolveValue(iContext, iExpression, true));
    final Object result = predicate.evaluate(iContext);

    debug(iContext, "Evaluated expression '" + iExpression + "' = " + result);

    return result;
  }

Examples of com.projity.grouping.core.transform.filtering.NodeFilter.evaluate()

                      if (gnode.isSummary()&&preserveHierarchy) gnode.setFiltered(true);
                      alreadyExcluded=true;
                  }
              }
               if (userFilter!=null&&!alreadyExcluded){
                   if(!userFilter.evaluate(current)){
                     if (!gnode.isSummary() || !preserveHierarchy){
                       i.remove();
                       continue;
                     }
                      if (gnode.isSummary()&&preserveHierarchy) gnode.setFiltered(true);

Examples of com.projity.grouping.core.transform.transformer.NodeTransformer.evaluate()

        Object current;
        for (Iterator i=list.iterator();i.hasNext();){
            gnode=(GraphicNode)i.next();
            gnode.setFiltered(false);
            if (!gnode.isVoid()){
              current=(composition==null)?gnode.getNode():composition.evaluate(gnode.getNode());
              alreadyExcluded=false;
               if (hiddenFilter!=null){
                   if(!hiddenFilter.evaluate(current)){
                      if (!gnode.isSummary() || !preserveHierarchy){
                        i.remove();

Examples of com.puppetlabs.geppetto.pp.dsl.linking.PPSearchPath.evaluate()

    if(environment == null || environment.length() == 0)
      environment = "production";

    // System.err.printf("Project %s uses env=%s and path=%s\n", project.getName(), environment, pathString);
    // return a resolved search path
    return searchPath.evaluate(environment);
  }
}

Examples of com.salesforce.phoenix.expression.Expression.evaluate()

    }

    @Override
    public boolean evaluate(Tuple tuple, ImmutableBytesWritable ptr) {
        Expression expression = getExpression();
        if (!expression.evaluate(tuple, ptr)) {
            return false;
        }
        PDataType type = expression.getDataType();
        Object value = formatter.format(type.toObject(ptr, expression.getColumnModifier()));
        byte[] b = getDataType().toBytes(value);
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.