Changeset 13443 for branches/ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/JobSequenceMatrix/JSMEncoding.cs
- Timestamp:
- 12/08/15 14:31:05 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/JobSequenceMatrix/JSMEncoding.cs
r13437 r13443 32 32 33 33 [Storable] 34 public ItemList<Permutation> JobSequenceMatrix { get; set; } 34 public ItemList<Permutation> JobSequenceMatrix { get; private set; } 35 [Storable] 36 public int RandomSeed { get; private set; } 35 37 36 38 [StorableConstructor] … … 39 41 : base(original, cloner) { 40 42 this.JobSequenceMatrix = cloner.Clone(original.JobSequenceMatrix); 43 this.RandomSeed = original.RandomSeed; 41 44 } 42 45 public override IDeepCloneable Clone(Cloner cloner) { 43 46 return new JSMEncoding(this, cloner); 44 47 } 45 public JSMEncoding( )48 public JSMEncoding(int randomSeed) 46 49 : base() { 50 RandomSeed = randomSeed; 47 51 JobSequenceMatrix = new ItemList<Permutation>(); 48 52 }
Note: See TracChangeset
for help on using the changeset viewer.