Changeset 3616 for trunk/sources/HeuristicLab.Algorithms.LocalSearch
- Timestamp:
- 05/05/10 00:48:18 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.LocalSearch/3.3/LocalSearch.cs
r3376 r3616 192 192 base.Problem_EvaluatorChanged(sender, e); 193 193 } 194 protected override void Problem_VisualizerChanged(object sender, EventArgs e) {195 ParameterizeStochasticOperator(Problem.Visualizer);196 ParameterizeMainLoop();197 if (Problem.Visualizer != null) Problem.Visualizer.VisualizationParameter.ActualNameChanged += new EventHandler(Visualizer_VisualizationParameter_ActualNameChanged);198 base.Problem_VisualizerChanged(sender, e);199 }200 194 protected override void Problem_OperatorsChanged(object sender, EventArgs e) { 201 195 foreach (IOperator op in Problem.Operators) ParameterizeStochasticOperator(op); … … 230 224 ParameterizeMoveEvaluators(); 231 225 ParameterizeMoveMakers(); 232 }233 private void Visualizer_VisualizationParameter_ActualNameChanged(object sender, EventArgs e) {234 ParameterizeMainLoop();235 226 } 236 227 #endregion … … 304 295 if (MoveEvaluator != null) 305 296 MainLoop.MoveQualityParameter.ActualName = MoveEvaluator.MoveQualityParameter.ActualName; 306 MainLoop.VisualizerParameter.ActualName = Problem.VisualizerParameter.Name;307 if (Problem.Visualizer != null)308 MainLoop.VisualizationParameter.ActualName = Problem.Visualizer.VisualizationParameter.ActualName;309 297 } 310 298 private void ParameterizeStochasticOperator(IOperator op) {
Note: See TracChangeset
for help on using the changeset viewer.