double cost =
calculateCosts(configuration, i,
calculateResourceCap(n, bound, sumOfCosts));
sumOfCosts += cost;
if (cost >= getMaxExecutionTime() || sumOfCosts > bound * n) {
changed(new ParamILSMessage(ParamILSMessageType.PerformanceEstimation,
configuration, MAX_POSSIBLE_OBJECTIVE));
return MAX_POSSIBLE_OBJECTIVE + (n + 1 - i);
}
}
changed(new ParamILSMessage(ParamILSMessageType.PerformanceEstimation,
configuration, sumOfCosts / n));
// checking whether configuration is better then minimum
if (checkMinimumConfiguration(sumOfCosts / n, n)) {
setMinimumConfiguration(configuration);
}