Examples of PortfolioPerformanceData


Examples of org.jamesii.asf.portfolios.plugintype.PortfolioPerformanceData

  public void testFixFitnessMinimize() {
    gaps.setAbortCriterion(new MaxFitnessAbort(MINIMIZE_FITNESS));
    gaps.setFitness(TEST_FITNESS_MIN);
    gaps.setNumIndividuals(NUM_OF_IND);
    gaps.portfolio(new PortfolioProblemDescription(
        new PortfolioPerformanceData(problemMatrix), 0, false, MIN_SIZE,
        MAX_SIZE));
    gaps.setIndividualFactory(FACTORY_INDIVIDUAL);

    assertTrue("Best Fitness should be " + MINIMIZE_FITNESS + " but it is "
        + gaps.getBestFitness(), gaps.getBestFitness() >= MINIMIZE_FITNESS);
View Full Code Here

Examples of org.jamesii.asf.portfolios.plugintype.PortfolioPerformanceData

    for (IProblemDefinition problem : problems) {
      syncRuntimeConfigs(problem);
      performanceVectors.add(getAvgPerfVector(problem));
    }

    return new PortfolioPerformanceData(createDoubleMatrix(performanceVectors),
        createRTCArray(), problems.toArray(new IProblemDefinition[problems
            .size()]));
  }
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.