Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/15/15 15:16:24 (9 years ago)
Author:
mkommend
Message:

#2521: Refactored problem base classes and adapted scheduling encoding, scheduling problem and unit tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ProblemRefactoring/HeuristicLab.Tests/HeuristicLab.Encodings.ScheduleEncoding-3.3/DirectScheduleGTCrossoverTest.cs

    r12012 r13469  
    2222using System.Linq;
    2323using HeuristicLab.Core;
    24 using HeuristicLab.Encodings.ScheduleEncoding.PermutationWithRepetition;
    25 using HeuristicLab.Encodings.ScheduleEncoding.ScheduleEncoding;
     24using HeuristicLab.Encodings.ScheduleEncoding;
    2625using HeuristicLab.Tests;
    2726using Microsoft.VisualStudio.TestTools.UnitTesting;
     
    4847      Schedule actual;
    4948      actual = DirectScheduleGTCrossover.Apply(random, parent1, parent2, jobData, mutProp);
    50       Schedule expected = DirectScheduleRandomCreator.Apply(3, 3, new PWREncoding(3, 3, new TestRandom(new int[] { 0, 2, 1, 1, 0, 2, 1, 2, 0 }, null)), TestUtils.CreateJobData());
     49      Schedule expected = DirectScheduleRandomCreator.Apply(new PWREncoding(3, 3, new TestRandom(new int[] { 0, 2, 1, 1, 0, 2, 1, 2, 0 }, null)), TestUtils.CreateJobData());
    5150      Assert.IsTrue(TestUtils.ScheduleEquals(actual, expected));
    5251    }
Note: See TracChangeset for help on using the changeset viewer.