Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/05/16 21:22:31 (8 years ago)
Author:
mkommend
Message:

#2614: Merged r13983 into stable.

Location:
stable
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Encodings.ScheduleEncoding/3.3/ScheduleEncoding/Schedule.cs

    r12009 r14002  
    3131  [Item("Schedule", "Represents the general solution for scheduling problems.")]
    3232  [StorableClass]
    33   public class Schedule : NamedItem, IScheduleEncoding {
     33  public sealed class Schedule : NamedItem, IScheduleEncoding {
    3434
    3535    #region Properties
     
    6363
    6464    [StorableConstructor]
    65     protected Schedule(bool deserializing) : base(deserializing) { }
    66     protected Schedule(Schedule original, Cloner cloner)
     65    private Schedule(bool deserializing) : base(deserializing) { }
     66    private Schedule(Schedule original, Cloner cloner)
    6767      : base(original, cloner) {
    6868      this.Resources = cloner.Clone(original.Resources);
     
    7171    }
    7272    public Schedule(int nrOfResources) {
     73      Name = "Schedule";
     74
    7375      Resources = new ItemList<Resource>();
    7476      for (int i = 0; i < nrOfResources; i++) {
Note: See TracChangeset for help on using the changeset viewer.