- Timestamp:
- 01/15/15 11:16:05 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Classification-Extensions/HeuristicLab.Optimization/3.3/ResultCollection.cs
r11718 r11761 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 using System.Linq;27 26 28 namespace HeuristicLab.Optimization { 27 namespace HeuristicLab.Optimization { 29 28 [StorableClass] 30 29 [Item("ResultCollection", "Represents a collection of results.")] … … 47 46 48 47 public virtual void CollectResultValues(IDictionary<string, IItem> values) { 49 CollectResultValues(values, string.Empty); 48 CollectResultValues(values, string.Empty); 50 49 } 51 50 … … 67 66 if (result.Value == null) yield break; 68 67 yield return new KeyValuePair<string, IItem>(string.Empty, result.Value); 68 69 69 var resultCollection = result.Value as ResultCollection; 70 if (resultCollection != null) { 70 if (resultCollection != null) { 71 71 var children = new Dictionary<string, IItem>(); 72 72 resultCollection.CollectResultValues(children);
Note: See TracChangeset
for help on using the changeset viewer.