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

    r3376 r3616  
    223223      base.Problem_EvaluatorChanged(sender, e);
    224224    }
    225     protected override void Problem_VisualizerChanged(object sender, EventArgs e) {
    226       ParameterizeStochasticOperator(Problem.Visualizer);
    227       ParameterizeMainLoop();
    228       if (Problem.Visualizer != null) Problem.Visualizer.VisualizationParameter.ActualNameChanged += new EventHandler(Visualizer_VisualizationParameter_ActualNameChanged);
    229       base.Problem_VisualizerChanged(sender, e);
    230     }
    231225    protected override void Problem_OperatorsChanged(object sender, EventArgs e) {
    232226      foreach (IOperator op in Problem.Operators) ParameterizeStochasticOperator(op);
     
    281275      ParameterizeMainLoop();
    282276    }
    283     private void Visualizer_VisualizationParameter_ActualNameChanged(object sender, EventArgs e) {
    284       ParameterizeMainLoop();
    285     }
    286277    private void SampleSizeParameter_NameChanged(object sender, EventArgs e) {
    287278      ParameterizeMoveGenerators();
     
    297288          op.MoveQualityParameter.ActualNameChanged += new EventHandler(MoveEvaluator_MoveQualityParameter_ActualNameChanged);
    298289        }
    299         if (Problem.Visualizer != null) Problem.Visualizer.VisualizationParameter.ActualNameChanged += new EventHandler(Visualizer_VisualizationParameter_ActualNameChanged);
    300290      }
    301291      MoveGeneratorParameter.ValueChanged += new EventHandler(MoveGeneratorParameter_ValueChanged);
     
    377367      if (TabuChecker != null)
    378368        MainLoop.MoveTabuParameter.ActualName = TabuChecker.MoveTabuParameter.ActualName;
    379       MainLoop.VisualizerParameter.ActualName = Problem.VisualizerParameter.Name;
    380       if (Problem.Visualizer != null)
    381         MainLoop.VisualizationParameter.ActualName = Problem.Visualizer.VisualizationParameter.ActualName;
    382369    }
    383370    private void ParameterizeStochasticOperator(IOperator op) {
Note: See TracChangeset for help on using the changeset viewer.