Examples of max()


Examples of aQute.bnd.annotation.metatype.Meta.AD.max()

        description = checkNull(ad.description());
        if (checkNull(ad.deflt()) != null)
          ;
        deflt = ad.deflt();

        if (checkNull(ad.max()) != null)
          max = Double.parseDouble(ad.max());
        if (checkNull(ad.min()) != null)
          min = Double.parseDouble(ad.min());

        required = ad.required();
View Full Code Here

Examples of ca.uhn.fhir.model.api.annotation.Child.max()

      }
      if (order != Child.ORDER_UNKNOWN) {
        order = order + baseElementOrder;
      }
      int min = childAnnotation.min();
      int max = childAnnotation.max();
      TreeMap<Integer, BaseRuntimeDeclaredChildDefinition> orderMap = theOrderToElementDef;

      Extension extensionAttr = next.getAnnotation(Extension.class);
      if (extensionAttr != null) {
        orderMap = theOrderToExtensionDef;
View Full Code Here

Examples of ch.idsia.utils.StatisticalSummary.max()

        options.setLevelDifficulty(level);
        options.setPauseWorld(paused);
        StatisticalSummary ss = test (controller, options, seed, level);
        System.out.printf("Level %d %s %.4f (%.4f) (min %.4f max %.4f) (avg time %.4f)\n",
                level, paused ? "paused" : "unpaused",
                ss.mean(), ss.sd(), ss.min(), ss.max(), controller.averageTimeTaken());
        return ss.mean();
    }


    public static StatisticalSummary test (TimingAgent controller, EvaluationOptions options, int seed, int level) {
View Full Code Here

Examples of ch.nerdin.generators.testdata.framework.annotation.CreateTestData.max()

    }

    public Object instantiateBeans(Method method) {
        Object createObject;
        CreateTestData testData = getAnnotation(method);
        int randomSize = randomUtil.randomBetween(testData.min(), testData.max());

        if (Collection.class.isAssignableFrom(method.getReturnType())) {
            Collection collection = newInstance(testData.collectionType());
            for (int i = 0; i < randomSize; i++) {
                collection.add(instantiateBean(method));
View Full Code Here

Examples of co.paralleluniverse.spacebase.AABB.max()

            vx = state.get($vx);
            vy = state.get($vy);

            assert !Double.isNaN(vx + vy);

            if (x > bounds.max(X) || x < bounds.min(X)) {
                x = min(x, bounds.max(X));
                x = max(x, bounds.min(X));
                vx = -vx * SPEED_BOUNCE_DAMPING;
                ax = 0;
            }
View Full Code Here

Examples of co.paralleluniverse.spacebase.MutableAABB.max()

            portToMvMatrix(currentPort);
            double margins = WIDTH_MARGINS;

            final int n;
            if (clock - lastQueryTime > SB_QUERY_RATE) {
                n = query(now, SpatialQueries.contained(AABB.create(currentPort.min(X) - margins, currentPort.max(X) + margins, currentPort.min(Y) - margins, currentPort.max(Y) + margins)));
                lastQueryTime = clock;
            } else {
                n = indexGen.get();
                lastDispTime = clock;
            }
View Full Code Here

Examples of com.asakusafw.compiler.flow.processor.operator.GroupSortFlowFactory.max()

    }

    @Override
    protected void describe() {
        GroupSortFlowFactory f = new GroupSortFlowFactory();
        Max op = f.max(in1);
        out1.add(op.r1);
    }
}
View Full Code Here

Examples of com.carrotsearch.junitbenchmarks.annotation.AxisRange.max()

            AxisRange ann = clazz.getAnnotation(AxisRange.class);
            if (ann != null)
            {
                g.min = ann.min();
                g.max = ann.max();
            }

            g.generate();
        }
    }
View Full Code Here

Examples of com.exigen.ie.constrainer.FloatEvent.max()

    {
      public void update(Subject exp, EventOfInterest interestthrows Failure
      {
        //Debug.on();Debug.print("ObserverFloatMoreValue: "+interest);Debug.off();
        FloatEvent event = (FloatEvent)interest;
        if(FloatCalc.gt (_value, event.max ())) {
//          System.out.println("???ObserverFloatMoreValue: max < value: "+event.max()+"<"+_value);
          exp.constrainer().fail("from ObserverFloatMoreValue");
        }

        _exp.setMin(_value);
View Full Code Here

Examples of com.exigen.ie.constrainer.FloatExp.max()

    for(int i=0; i < vars.length; i++)
    {
      FloatExp vari = (FloatExp)vars[i];
      double maxi = max - (min_sum - vari.min());
      if (maxi < vari.max())
      {
        vari.setMax(maxi);
      }
    }
//    System.out.println("---- set max:" + max + " in " + this);
View Full Code Here
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.