Changeset 3690 for trunk/sources/HeuristicLab.Optimization.Operators
- Timestamp:
- 05/07/10 02:21:01 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/sources/HeuristicLab.Optimization.Operators/3.3/ResultsCollector.cs ¶
r3687 r3690 20 20 #endregion 21 21 22 using System.Collections; 22 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; … … 62 63 string name = lookupParam != null ? lookupParam.TranslatedName : param.Name; 63 64 65 IScopeTreeLookupParameter scopeTreeLookupParam = param as IScopeTreeLookupParameter; 66 if ((scopeTreeLookupParam != null) && (scopeTreeLookupParam.Depth == 0)) { 67 IEnumerator enumerator = ((IEnumerable)value).GetEnumerator(); 68 if (enumerator.MoveNext()) 69 value = (IItem)enumerator.Current; 70 } 71 64 72 results.TryGetValue(name, out result); 65 73 if (result != null)
Note: See TracChangeset
for help on using the changeset viewer.