Examples of min()


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

          ;
        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();
      }
      Object value = current.invoke(target);
View Full Code Here

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

        throw new ConfigurationException("Invalid order '" + order + "' on @Child for field '" + next.getName() + "' on target type: " + theClass);
      }
      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) {
View Full Code Here

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

        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.min()

    }

    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.min()

            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.min()

            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.min()

    }

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

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

                c);

            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.min()

      public void update(Subject exp, EventOfInterest interest)
        throws Failure
      {
        //Debug.print("ObserverFloatExpNotValue("+_exp+") "+interest);
        FloatEvent event = (FloatEvent)interest;
        double value = (event.min () + event.max ())/2;
        if (FloatCalc.eq (value, _value)){
          constrainer().fail("attempt to set a removed value "+value+" for "+exp);
        }
      }
View Full Code Here

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

    FloatExp[] vars = _vars.data();

    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);
      }
    }
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.