Changeset 6475 for branches/Scheduling/HeuristicLab.Encodings.ScheduleEncoding/3.3/PermutationWithRepetition/PWRRandomCreator.cs
- Timestamp:
- 06/24/11 14:23:19 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Scheduling/HeuristicLab.Encodings.ScheduleEncoding/3.3/PermutationWithRepetition/PWRRandomCreator.cs
r6406 r6475 63 63 } 64 64 65 public static PWREncoding Apply(int jobs, int resources, IRandom random) { 66 return new PWREncoding(jobs, resources, random); 67 } 68 65 69 66 70 protected override PWREncoding CreateSolution() { 67 PWREncoding result = new PWREncoding(JobsParameter.ActualValue.Value, Random); 68 return result; 71 return Apply(JobsParameter.ActualValue.Value, ResourcesParameter.ActualValue.Value, Random); 69 72 } 70 73 }
Note: See TracChangeset
for help on using the changeset viewer.