Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/03/13 10:08:38 (11 years ago)
Author:
ascheibe
Message:

#1886 added configuration of frequency with which the ab measures are calculated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers/3.3/SolutionToPopulationAnalyzer.cs

    r9252 r9431  
    8080    [Storable]
    8181    private int lastGeneration = 0;
     82    [Storable]
     83    private bool scalingFinished = false;
    8284    #endregion
    8385
     
    9193      populationQualityPlot = (ScatterPlotHelper)original.populationQualityPlot.Clone(cloner);
    9294      qualityPlot = (ScatterPlotHelper)original.qualityPlot.Clone(cloner);
     95      scalingFinished = original.scalingFinished;
    9396    }
    9497
     
    162165        }
    163166
    164         if (GenerationsParameter.ActualValue.Value == 1) {
     167        if (WorstKnownQualityParameter.ActualValue != null && !scalingFinished) {
     168          scalingFinished = true;
    165169          double bkQuality = BestKnownQualityParameter.ActualValue.Value;
    166170          double wkQuality = WorstKnownQualityParameter.ActualValue.Value;
     
    210214      populationDiversityPlot.CleanUp();
    211215      qualityPlot.CleanUp();
     216      scalingFinished = false;
    212217    }
    213218
Note: See TracChangeset for help on using the changeset viewer.