Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/11/10 21:16:12 (15 years ago)
Author:
abeham
Message:

#893

  • Removed best known quality tracking from BestAverageWorstQualityAnalyzer
  • Added best known quality / solution tracking to problem specific analyzers
File:
1 edited

Legend:

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

    r3662 r3787  
    7777      get { return (BestQualityMemorizer)OperatorGraph.InitialOperator; }
    7878    }
    79     private BestQualityMemorizer BestKnownQualityMemorizer {
    80       get { return (BestQualityMemorizer)BestQualityMemorizer.Successor; }
    81     }
    8279    private BestAverageWorstQualityCalculator BestAverageWorstQualityCalculator {
    83       get { return (BestAverageWorstQualityCalculator)BestKnownQualityMemorizer.Successor; }
     80      get { return (BestAverageWorstQualityCalculator)BestQualityMemorizer.Successor; }
    8481    }
    8582    #endregion
     
    103100      #region Create operators
    104101      BestQualityMemorizer bestQualityMemorizer = new BestQualityMemorizer();
    105       BestQualityMemorizer bestKnownQualityMemorizer = new BestQualityMemorizer();
    106102      BestAverageWorstQualityCalculator bestAverageWorstQualityCalculator = new BestAverageWorstQualityCalculator();
    107103      DataTableValuesCollector dataTableValuesCollector = new DataTableValuesCollector();
     
    113109      bestQualityMemorizer.QualityParameter.ActualName = QualityParameter.Name;
    114110      bestQualityMemorizer.QualityParameter.Depth = QualityParameter.Depth;
    115 
    116       bestKnownQualityMemorizer.BestQualityParameter.ActualName = BestKnownQualityParameter.Name;
    117       bestKnownQualityMemorizer.MaximizationParameter.ActualName = MaximizationParameter.Name;
    118       bestKnownQualityMemorizer.QualityParameter.ActualName = QualityParameter.Name;
    119       bestKnownQualityMemorizer.QualityParameter.Depth = QualityParameter.Depth;
    120111
    121112      bestAverageWorstQualityCalculator.AverageQualityParameter.ActualName = CurrentAverageQualityParameter.Name;
     
    151142      #region Create operator graph
    152143      OperatorGraph.InitialOperator = bestQualityMemorizer;
    153       bestQualityMemorizer.Successor = bestKnownQualityMemorizer;
    154       bestKnownQualityMemorizer.Successor = bestAverageWorstQualityCalculator;
     144      bestQualityMemorizer.Successor = bestAverageWorstQualityCalculator;
    155145      bestAverageWorstQualityCalculator.Successor = dataTableValuesCollector;
    156146      dataTableValuesCollector.Successor = qualityDifferenceCalculator;
     
    177167    private void QualityParameter_DepthChanged(object sender, System.EventArgs e) {
    178168      BestQualityMemorizer.QualityParameter.Depth = QualityParameter.Depth;
    179       BestKnownQualityMemorizer.QualityParameter.Depth = QualityParameter.Depth;
    180169      BestAverageWorstQualityCalculator.QualityParameter.Depth = QualityParameter.Depth;
    181170    }
Note: See TracChangeset for help on using the changeset viewer.