diff --git a/src/main/java/jobshop/solvers/neighborhood/Nowicki.java b/src/main/java/jobshop/solvers/neighborhood/Nowicki.java index 0aafb98..eb2e109 100644 --- a/src/main/java/jobshop/solvers/neighborhood/Nowicki.java +++ b/src/main/java/jobshop/solvers/neighborhood/Nowicki.java @@ -19,13 +19,13 @@ public class Nowicki extends Neighborhood { * Represent the task sequence : [(0,2) (2,1)] * * */ - static class Block { + public static class Block { /** machine on which the block is identified */ - final int machine; + public final int machine; /** index of the first task of the block */ - final int firstTask; + public final int firstTask; /** index of the last task of the block */ - final int lastTask; + public final int lastTask; Block(int machine, int firstTask, int lastTask) { this.machine = machine; @@ -49,13 +49,13 @@ public class Nowicki extends Neighborhood { * machine 1 : (2,1) (0,2) (1,1) * machine 2 : ... */ - static class Swap extends Neighbor { + public static class Swap extends Neighbor { // machine on which to perform the swap - final int machine; + public final int machine; // index of one task to be swapped - final int t1; + public final int t1; // index of the other task to be swapped - final int t2; + public final int t2; Swap(int machine, int t1, int t2) { this.machine = machine;