Should be the last of the huge commits.
This commit is contained in:
2013-01-29 14:02:48 +00:00
parent 550e9956d8
commit bcf7a9a8a2
402 changed files with 8970 additions and 3416 deletions

View File

@@ -13,7 +13,9 @@ public class SimpleB1 extends SimpleProblemBinary {
int fitness = 0;
for (int i = 0; i < getProblemDimension(); i++) {
if (b.get(i)) fitness++;
if (b.get(i)) {
fitness++;
}
}
result[0] = fitness;
return result;