Changeset 14154 for branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.2D/3.3/PermutationEncoding/PermutationProblem.cs
- Timestamp:
- 07/21/16 15:08:21 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.2D/3.3/PermutationEncoding/PermutationProblem.cs
r14153 r14154 23 23 24 24 using System.Linq; 25 using System.Windows.Forms; 25 26 using HeuristicLab.Common; 26 27 using HeuristicLab.Core; … … 72 73 Encoding.ConfigureOperators(Operators.OfType<IOperator>()); 73 74 74 // TODO: configure the move evaluators (add interface for my move evaluators) 75 foreach (var op in Operators.OfType<IOperator<Permutation>>()) { 76 op.BinShapeParameter.ActualName = BinShapeParameter.Name; 77 op.ItemsParameter.ActualName = ItemsParameter.Name; 78 op.SolutionEvaluatorParameter.ActualName = SolutionEvaluatorParameter.Name; 79 op.DecoderParameter.ActualName = DecoderParameter.Name; 80 } 75 81 } 76 82
Note: See TracChangeset
for help on using the changeset viewer.