Free cookie consent management tool by TermsFeed Policy Generator

Changeset 3664


Ignore:
Timestamp:
05/06/10 04:49:45 (15 years ago)
Author:
swagner
Message:

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

  • fixed bug in MultiAnalyzer
  • fixed flickering of results
Location:
trunk/sources
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Analysis/3.3/MultiAnalyzer.cs

    r3658 r3664  
    6262      IntValue interval = UpdateIntervalParameter.ActualValue;
    6363      if (interval == null) interval = new IntValue(1);
     64
    6465      IntValue counter = UpdateCounterParameter.ActualValue;
    65       if (counter == null) counter = new IntValue(interval.Value);
    66       else counter.Value++;
     66      if (counter == null) {
     67        counter = new IntValue(interval.Value);
     68        UpdateCounterParameter.ActualValue = counter;
     69      } else counter.Value++;
    6770
    6871      if (counter.Value == interval.Value) {
  • trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3/ViewHost.cs

    r3655 r3664  
    104104
    105105    protected override void OnContentChanged() {
    106       messageLabel.Visible = false;
    107       viewsLabel.Visible = false;
    108       viewPanel.Visible = false;
    109106      viewContextMenuStrip.Item = Content;
    110107
    111108      if (Content != null) {
    112         if (viewContextMenuStrip.Items.Count == 0)
     109        if (viewContextMenuStrip.Items.Count == 0) {
    113110          messageLabel.Visible = true;
    114         else {
     111          viewsLabel.Visible = false;
     112          viewPanel.Visible = false;
     113        } else {
     114          messageLabel.Visible = false;
    115115          viewsLabel.Visible = true;
    116116          viewPanel.Visible = true;
     
    126126          view.Content = this.Content;
    127127      } else {
     128        messageLabel.Visible = false;
     129        viewsLabel.Visible = false;
     130        viewPanel.Visible = false;
    128131        if (viewPanel.Controls.Count > 0) viewPanel.Controls[0].Dispose();
    129132        viewPanel.Controls.Clear();
  • trunk/sources/HeuristicLab.Optimization.Operators/3.3/ResultsCollector.cs

    r3639 r3664  
    4949      : base() {
    5050      Parameters.Add(new ValueLookupParameter<ResultCollection>("Results", "The result collection where the collected values should be stored."));
    51       Parameters.Add(new ValueParameter<BoolValue>("CopyValue", "True if the collected result value should be copied, otherwise false.", new BoolValue(true)));
     51      Parameters.Add(new ValueParameter<BoolValue>("CopyValue", "True if the collected result value should be copied, otherwise false.", new BoolValue(false)));
    5252    }
    5353
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/ResultView.cs

    r3566 r3664  
    103103        Invoke(new EventHandler(Content_ValueChanged), sender, e);
    104104      else {
    105         viewHost.ViewType = null;
    106105        viewHost.Content = Content.Value;
    107106      }
Note: See TracChangeset for help on using the changeset viewer.