- Timestamp:
- 02/02/15 13:19:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Analysis/3.3/BestScopeSolutionAnalyzer.cs
r11854 r11856 119 119 if (!results.ContainsKey(BestSolutionResultName)) { 120 120 var cloner = new Cloner(); 121 //avoid cloning of subscopes 121 //avoid cloning of subscopes and the results collection that the solution is put in 122 cloner.RegisterClonedObject(results, new ResultCollection()); 122 123 cloner.RegisterClonedObject(currentBestScope.SubScopes, new ScopeList()); 123 124 var solution = cloner.Clone(currentBestScope); … … 132 133 || !max && qualities[i].Value < bestQuality) { 133 134 var cloner = new Cloner(); 134 //avoid cloning of subscopes 135 //avoid cloning of subscopes and the results collection that the solution is put in 136 cloner.RegisterClonedObject(results, new ResultCollection()); 135 137 cloner.RegisterClonedObject(currentBestScope.SubScopes, new ScopeList()); 136 138 var solution = cloner.Clone(currentBestScope);
Note: See TracChangeset
for help on using the changeset viewer.