Changeset 7420
- Timestamp:
- 01/27/12 13:35:11 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/GRASPWithPathRelinking.cs
r7412 r7420 190 190 base.Problem_OperatorsChanged(sender, e); 191 191 } 192 193 private void LocalImprovementParameter_ValueChanged(object sender, EventArgs e) { 194 Parameterize(); 195 } 192 196 #endregion 193 197 … … 201 205 202 206 private void RegisterEventHandlers() { 203 207 LocalImprovementParameter.ValueChanged += new EventHandler(LocalImprovementParameter_ValueChanged); 204 208 } 205 209 … … 231 235 232 236 analyzer.QualityParameter.ActualName = Problem.Evaluator.QualityParameter.ActualName; 237 238 if (LocalImprovementParameter.Value != null) 239 LocalImprovementParameter.Value.Problem = Problem; 233 240 } 234 241 foreach (var localImprovement in LocalImprovementParameter.ValidValues) { … … 236 243 localImprovement.EvaluatedSolutionsParameter.ActualName = "EvaluatedSolutions"; 237 244 localImprovement.ResultsParameter.ActualName = "Results"; 238 if (Problem != null && localImprovement.ProblemType.IsAssignableFrom(Problem.GetType()))239 localImprovement.Problem = Problem;240 245 } 241 246 foreach (var merger in EliteSetMergerParameter.ValidValues) {
Note: See TracChangeset
for help on using the changeset viewer.