Changeset 6489 for branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Analyzers
- Timestamp:
- 06/27/11 23:56:35 (14 years ago)
- Location:
- branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Analyzers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Analyzers/PMOBestSolutionHistoryAnalyzer.cs
r6197 r6489 75 75 bestSolutionHistory = results[key].Value as RunCollection; 76 76 } 77 if (bestSolutionHistory.Count == 0 || best.ParameterInfoString != ((StringValue)bestSolutionHistory.Last().Results["Meta .ParameterInfoString"]).Value) {77 if (bestSolutionHistory.Count == 0 || best.ParameterInfoString != ((StringValue)bestSolutionHistory.Last().Results["Meta-ParameterInfoString"]).Value) { 78 78 IRun run = best.ToRun(string.Format("{0}: {1}", currentGeneration, best.ParameterInfoString), false); 79 run.Results.Add("Meta .Generation", new IntValue(currentGeneration));80 run.Results.Add("Meta .ParameterInfoString", new StringValue(best.ParameterInfoString));79 run.Results.Add("Meta-Generation", new IntValue(currentGeneration)); 80 run.Results.Add("Meta-ParameterInfoString", new StringValue(best.ParameterInfoString)); 81 81 bestSolutionHistory.Add(run); 82 82 } -
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Analyzers/SolutionCacheAnalyzer.cs
r6090 r6489 74 74 var runCollection = allRuns.Single(x => x.Key.Value == key).Value; 75 75 foreach (var run in solution.Runs) { 76 if (!((BoolValue)run.Results["Meta .FromCache"]).Value || first) {77 run.Results["Meta .FromCache"] = new BoolValue(true);76 if (!((BoolValue)run.Results["Meta-FromCache"]).Value || first) { 77 run.Results["Meta-FromCache"] = new BoolValue(true); 78 78 runCollection.Add(run); 79 79 }
Note: See TracChangeset
for help on using the changeset viewer.