Changeset 15838 for branches/2817-BinPackingSpeedup/HeuristicLab.Problems.BinPacking/3.3/3D/Encoding
- Timestamp:
- 03/12/18 14:19:06 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2817-BinPackingSpeedup/HeuristicLab.Problems.BinPacking/3.3/3D/Encoding/ExtremePointPermutationDecoder.cs
r15652 r15838 69 69 : base(original, cloner) { 70 70 fittingMethodParameter = cloner.Clone(original.fittingMethodParameter); 71 //_binPacker = cloner.Clone(original._binPacker);72 71 } 73 72 public ExtremePointPermutationDecoder() { … … 86 85 return new ExtremePointPermutationDecoder(this, cloner); 87 86 } 88 89 /*[Storable] 90 BinPacker _binPacker; 91 */ 87 92 88 /// <summary> 93 89 /// Creates a solution for displaying it on the HEAL gui … … 108 104 } 109 105 return solution; 110 } 111 112 Permutation AddOffset(Permutation p, int offset) { 113 var s = p.ToArray(); 114 for (int i = 0; i < s.Length; i++) { 115 s[i] += offset; 116 } 117 118 return new Permutation(PermutationTypes.Absolute, s); 119 } 106 } 120 107 } 121 108 }
Note: See TracChangeset
for help on using the changeset viewer.