Changeset 5653 for branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Analyzers
- Timestamp:
- 03/10/11 10:44:42 (14 years ago)
- Location:
- branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3
- Property svn:ignore
-
old new 3 3 obj 4 4 HeuristicLabProblemsMetaOptimizationPlugin.cs 5 *.vs10x
-
- Property svn:ignore
-
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Analyzers/ReferenceQualityAnalyzer.cs
r5359 r5653 68 68 DoubleArray referenceQualities = new DoubleArray(ProblemsParameter.ActualValue.Count); 69 69 for (int pi = 0; pi < ProblemsParameter.ActualValue.Count; pi++) { 70 referenceQualities[pi] = solutions. Select(x => x.AverageQualities[pi]).Min(); // todo: respect minimization / maximization70 referenceQualities[pi] = solutions.Where(x => x.AverageQualities != null).Select(x => x.AverageQualities[pi]).Min(); // todo: respect minimization / maximization 71 71 } 72 72 return referenceQualities;
Note: See TracChangeset
for help on using the changeset viewer.