Changeset 17381 for branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/EvaluationResult.cs
- Timestamp:
- 12/18/19 15:06:18 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/EvaluationResult.cs
r17357 r17381 21 21 22 22 using System.Collections.Generic; 23 using System.Linq; 23 24 using HEAL.Attic; 24 25 using HeuristicLab.Common; … … 42 43 43 44 protected EvaluationResult(EvaluationResult original, Cloner cloner) : base(original, cloner) { 44 //TODO clone data dictionary 45 data = original.data.ToDictionary(entry => entry.Key, 46 entry => entry.Value is DeepCloneable ? cloner.Clone((DeepCloneable)entry.Value) : entry.Value); 45 47 } 46 48
Note: See TracChangeset
for help on using the changeset viewer.