@Override public void evaluate(Individual individual) { /* * subtract optimum offset for standardization */ individual.setFitness( generic.evaluate(individual.getVariable()) - generic.getBenchmark().getFadd()); }
@Override public void init(Algorithm algorithm) { generic = new BBOB(1, 0, 30); generic.init(); algorithm.run(); }