Skip to content

Commit

Permalink
better setups for umda with permutations and clearing for jssp
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasWeise committed Jun 13, 2020
1 parent 40dcdef commit ed86fa9
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/main/java/aitoa/examples/jssp/EJSSPExperimentStage.java
Original file line number Diff line number Diff line change
Expand Up @@ -579,16 +579,12 @@ public void configureBuilderForProblem(
}
}

for (final int mu : new int[] { 2, 3, 4, 5, 8, 10 }) {
for (int lambdaShift = 4; lambdaShift <= 18;
for (final int mu : new int[] { 2, 3, 4, 7, 10 }) {
for (int lambdaShift = 4; lambdaShift <= 8;
lambdaShift++) {
final int lambda = 1 << lambdaShift;
if (mu < lambda) {
if (lambda <= 256) {
list.add(() -> new EDAWithClearing<>(mu, lambda, //
new JSSPUMDAModelP(problem.instance)));
}
list.add(() -> new EDA<>(mu, lambda, //
list.add(() -> new EDAWithClearing<>(mu, lambda, //
new JSSPUMDAModelP(problem.instance)));
}
}
Expand Down

0 comments on commit ed86fa9

Please sign in to comment.