Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/05/10 00:48:18 (15 years ago)
Author:
swagner
Message:

Worked on refactoring of algorithm analysis and tracing (#999)

  • adapted GA and TSP
  • removed stuff related to visualizers
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.SimulatedAnnealing/3.3/SimulatedAnnealing.cs

    r3376 r3616  
    221221      base.Problem_EvaluatorChanged(sender, e);
    222222    }
    223     protected override void Problem_VisualizerChanged(object sender, EventArgs e) {
    224       ParameterizeStochasticOperator(Problem.Visualizer);
    225       ParameterizeMainLoop();
    226       if (Problem.Visualizer != null) Problem.Visualizer.VisualizationParameter.ActualNameChanged += new EventHandler(Visualizer_VisualizationParameter_ActualNameChanged);
    227       base.Problem_VisualizerChanged(sender, e);
    228     }
    229223    protected override void Problem_OperatorsChanged(object sender, EventArgs e) {
    230224      foreach (IOperator op in Problem.Operators) ParameterizeStochasticOperator(op);
     
    260254      ParameterizeMoveEvaluators();
    261255      ParameterizeMoveMakers();
    262     }
    263     private void Visualizer_VisualizationParameter_ActualNameChanged(object sender, EventArgs e) {
    264       ParameterizeMainLoop();
    265256    }
    266257    #endregion
     
    343334      if (MoveEvaluator != null)
    344335        MainLoop.MoveQualityParameter.ActualName = MoveEvaluator.MoveQualityParameter.ActualName;
    345       MainLoop.VisualizerParameter.ActualName = Problem.VisualizerParameter.Name;
    346       if (Problem.Visualizer != null)
    347         MainLoop.VisualizationParameter.ActualName = Problem.Visualizer.VisualizationParameter.ActualName;
    348336    }
    349337    private void ParameterizeStochasticOperator(IOperator op) {
Note: See TracChangeset for help on using the changeset viewer.