Changeset 7173
- Timestamp:
- 12/12/11 09:31:22 (13 years ago)
- Location:
- branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Analyzers
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Analyzers/BestParameterConfigurationAnalyzer.cs
r6197 r7173 15 15 [StorableClass] 16 16 public sealed class BestParameterConfigurationAnalyzer : SingleSuccessorOperator, IAnalyzer { 17 18 public bool EnabledByDefault { 19 get { return true; } 20 } 17 21 18 22 public ScopeTreeLookupParameter<ParameterConfigurationTree> ParameterConfigurationParameter { … … 82 86 best.CollectParameterValues(bestRun.Parameters); 83 87 84 if (bestKnownQuality == null || 88 if (bestKnownQuality == null || 85 89 (!maximization && (qualities[idxBest].Value < bestKnownQuality.Value) || 86 90 (maximization && (qualities[idxBest].Value > bestKnownQuality.Value)))) { -
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Analyzers/PMOBestSolutionHistoryAnalyzer.cs
r6489 r7173 15 15 [StorableClass] 16 16 public sealed class PMOBestSolutionHistoryAnalyzer : SingleSuccessorOperator, IAnalyzer { 17 18 public bool EnabledByDefault { 19 get { return true; } 20 } 17 21 18 22 public ScopeTreeLookupParameter<ParameterConfigurationTree> ParameterConfigurationParameter { -
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Analyzers/PMOProblemQualitiesAnalyzer.cs
r6018 r7173 16 16 [StorableClass] 17 17 public sealed class PMOProblemQualitiesAnalyzer : SingleSuccessorOperator, IAnalyzer { 18 19 public bool EnabledByDefault { 20 get { return true; } 21 } 18 22 19 23 public ScopeTreeLookupParameter<ParameterConfigurationTree> ParameterConfigurationParameter { … … 55 59 bool maximization = MaximizationParameter.ActualValue.Value; 56 60 57 int idxBest 61 int idxBest; 58 62 int idxWorst; 59 63 if (maximization) { … … 82 86 AddValue(problemQualitiesDataTable, parameterTrees[idxBest].AverageQualities[i], "BestQuality", "BestQuality"); 83 87 AddValue(problemQualitiesDataTable, problemQualities[i].Average(), "AverageQuality", "BestQuality"); 84 AddValue(problemQualitiesDataTable, parameterTrees[idxWorst].AverageQualities[i], "WorstQuality", "BestQuality"); 88 AddValue(problemQualitiesDataTable, parameterTrees[idxWorst].AverageQualities[i], "WorstQuality", "BestQuality"); 85 89 } 86 90 -
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Analyzers/ReferenceQualityAnalyzer.cs
r6090 r7173 15 15 [StorableClass] 16 16 public sealed class ReferenceQualityAnalyzer : SingleSuccessorOperator, IAnalyzer { 17 18 public bool EnabledByDefault { 19 get { return true; } 20 } 17 21 18 22 public ValueLookupParameter<ResultCollection> ResultsParameter { -
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Analyzers/SolutionCacheAnalyzer.cs
r6489 r7173 15 15 [StorableClass] 16 16 public sealed class SolutionCacheAnalyzer : SingleSuccessorOperator, IAnalyzer { 17 18 public bool EnabledByDefault { 19 get { return true; } 20 } 17 21 18 22 public ValueLookupParameter<ResultCollection> ResultsParameter {
Note: See TracChangeset
for help on using the changeset viewer.