Changeset 17620 for branches/2521_ProblemRefactoring/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/IntegerVectorEncoding.cs
- Timestamp:
- 06/22/20 03:45:41 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/IntegerVectorEncoding.cs
r17614 r17620 120 120 typeof (IIntegerVectorStdDevStrategyParameterOperator), 121 121 typeof (IIntegerVectorMultiNeighborhoodShakingOperator), 122 typeof (IIntegerVectorLocalImprovementOperator), 123 typeof (IIntegerVectorSolutionOperator), 124 typeof (IIntegerVectorSolutionsOperator) 122 125 }; 123 126 } … … 142 145 ConfigureShakingOperators(operators.OfType<IIntegerVectorMultiNeighborhoodShakingOperator>()); 143 146 ConfigureStrategyVectorOperator(operators.OfType<IIntegerVectorStdDevStrategyParameterOperator>()); 147 ConfigureLocalImprovementOperators(operators.OfType<IIntegerVectorLocalImprovementOperator>()); 148 ConfigureSolutionOperators(operators.OfType<IIntegerVectorSolutionOperator>()); 149 ConfigureSolutionsOperators(operators.OfType<IIntegerVectorSolutionsOperator>()); 144 150 } 145 151 … … 217 223 } 218 224 } 225 private void ConfigureLocalImprovementOperators(IEnumerable<IIntegerVectorLocalImprovementOperator> localImprovementOperators) { 226 // IIntegerVectorLocalImprovementOperator does not contain additional parameters (already contained in IIntegerVectorSolutionOperator) 227 } 228 private void ConfigureSolutionOperators(IEnumerable<IIntegerVectorSolutionOperator> solutionOperators) { 229 foreach (var solutionOperator in solutionOperators) { 230 solutionOperator.IntegerVectorParameter.ActualName = Name; 231 } 232 } 233 private void ConfigureSolutionsOperators(IEnumerable<IIntegerVectorSolutionsOperator> solutionsOperators) { 234 foreach (var solutionsOperator in solutionsOperators) { 235 solutionsOperator.IntegerVectorsParameter.ActualName = Name; 236 } 237 } 219 238 #endregion 220 239
Note: See TracChangeset
for help on using the changeset viewer.