示例#1
0
  @Override
  public void evaluate(Individual individual) {

    /*
     * subtract optimum offset for standardization
     */
    individual.setFitness(
        generic.evaluate(individual.getVariable()) - generic.getBenchmark().getFadd());
  }
示例#2
0
  @Override
  public void init(Algorithm algorithm) {

    generic = new BBOB(1, 0, 30);
    generic.init();

    algorithm.run();
  }