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.LocalSearch/3.3/LocalSearch.cs

    r3376 r3616  
    192192      base.Problem_EvaluatorChanged(sender, e);
    193193    }
    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     }
    200194    protected override void Problem_OperatorsChanged(object sender, EventArgs e) {
    201195      foreach (IOperator op in Problem.Operators) ParameterizeStochasticOperator(op);
     
    230224      ParameterizeMoveEvaluators();
    231225      ParameterizeMoveMakers();
    232     }
    233     private void Visualizer_VisualizationParameter_ActualNameChanged(object sender, EventArgs e) {
    234       ParameterizeMainLoop();
    235226    }
    236227    #endregion
     
    304295      if (MoveEvaluator != null)
    305296        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;
    309297    }
    310298    private void ParameterizeStochasticOperator(IOperator op) {
Note: See TracChangeset for help on using the changeset viewer.