Changeset 13983 for trunk/sources/HeuristicLab.Encodings.ScheduleEncoding
- Timestamp:
- 07/02/16 17:02:45 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.ScheduleEncoding/3.3/ScheduleEncoding/Schedule.cs
r12012 r13983 31 31 [Item("Schedule", "Represents the general solution for scheduling problems.")] 32 32 [StorableClass] 33 public class Schedule : NamedItem, IScheduleEncoding {33 public sealed class Schedule : NamedItem, IScheduleEncoding { 34 34 35 35 #region Properties … … 63 63 64 64 [StorableConstructor] 65 pr otectedSchedule(bool deserializing) : base(deserializing) { }66 pr otectedSchedule(Schedule original, Cloner cloner)65 private Schedule(bool deserializing) : base(deserializing) { } 66 private Schedule(Schedule original, Cloner cloner) 67 67 : base(original, cloner) { 68 68 this.Resources = cloner.Clone(original.Resources); … … 71 71 } 72 72 public Schedule(int nrOfResources) { 73 Name = "Schedule"; 74 73 75 Resources = new ItemList<Resource>(); 74 76 for (int i = 0; i < nrOfResources; i++) {
Note: See TracChangeset
for help on using the changeset viewer.