Changeset 17516 for branches/2521_ProblemRefactoring/HeuristicLab.Tests/HeuristicLab.Encodings.ScheduleEncoding-3.3/JSMJOXCrossoverTest.cs
- Timestamp:
- 04/20/20 16:18:23 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Tests/HeuristicLab.Encodings.ScheduleEncoding-3.3/JSMJOXCrossoverTest.cs
r17226 r17516 40 40 public void ApplyTest() { 41 41 IRandom random = new TestRandom(new int[] { 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 1 }, null); 42 JSM Encodingp1 = TestUtils.CreateTestJSM1();43 JSM Encodingp2 = TestUtils.CreateTestJSM2();44 JSM Encoding expected = new JSMEncoding(0);42 JSM p1 = TestUtils.CreateTestJSM1(); 43 JSM p2 = TestUtils.CreateTestJSM2(); 44 JSM expected = new JSM(0); 45 45 ItemList<Permutation> jsm = expected.JobSequenceMatrix; 46 46 for (int i = 0; i < 6; i++) { … … 49 49 50 50 51 JSM Encodingactual;51 JSM actual; 52 52 actual = JSMJOXCrossover.Apply(random, p1, p2); 53 53
Note: See TracChangeset
for help on using the changeset viewer.