Examples of predictPerformance()


Examples of org.jamesii.asf.spdm.generators.IPerformancePredictor.predictPerformance()

  public double predictPerformance(Features features, Configuration config) {
    if (!predictors.containsKey(config)) {
      return Double.POSITIVE_INFINITY;
    }
    IPerformancePredictor predictor = predictors.get(config);
    return predictor.predictPerformance(features, config);
  }

  public Map<Configuration, IPerformancePredictor> getPredictors() {
    return new HashMap<>(predictors);
  }
View Full Code Here

Examples of org.jamesii.asf.spdm.generators.IPerformancePredictor.predictPerformance()

        getDataSet().getInstances().get(0).getConfiguration();
    Configuration config2 =
        getDataSet().getInstances().get(1).getConfiguration();

    try {
      predictor.predictPerformance(features, config1);
      predictor.predictPerformance(features, config2);
    } catch (Exception e) {
      SimSystem.report(e);
      fail("Performance prediction should work.");
    }
View Full Code Here

Examples of org.jamesii.asf.spdm.generators.IPerformancePredictor.predictPerformance()

    Configuration config2 =
        getDataSet().getInstances().get(1).getConfiguration();

    try {
      predictor.predictPerformance(features, config1);
      predictor.predictPerformance(features, config2);
    } catch (Exception e) {
      SimSystem.report(e);
      fail("Performance prediction should work.");
    }
  }
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.