Changeset 9563 for branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking/3.3/Encodings/PackingSequence/PackingSequenceEncoding.cs
- Timestamp:
- 06/02/13 04:26:26 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking/3.3/Encodings/PackingSequence/PackingSequenceEncoding.cs
r9348 r9563 30 30 [Item("Packing Sequence Encoding", "Represents an encoding for a bin packing problem using permutation of item-indexes to define the packing sequence.")] 31 31 [StorableClass] 32 public class PackingSequenceEncoding : Item, IPackingSolutionEncoding {32 public class PackingSequenceEncoding : Item, IPackingSolutionEncoding { 33 33 34 34 [Storable] … … 39 39 protected PackingSequenceEncoding(PackingSequenceEncoding original, Cloner cloner) 40 40 : base(original, cloner) { 41 41 this.PackingSequence = cloner.Clone(original.PackingSequence); 42 42 } 43 43 public override IDeepCloneable Clone(Cloner cloner) { … … 53 53 StringBuilder sb = new StringBuilder(); 54 54 sb.Append("[ "); 55 sb.Append(PackingSequence.ToString() + " \n"); 55 sb.Append(PackingSequence.ToString() + " \n"); 56 56 sb.Append("]"); 57 57 return sb.ToString();
Note: See TracChangeset
for help on using the changeset viewer.