Changeset 1777
- Timestamp:
- 05/09/09 19:16:15 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Selection.Uncertainty/v3.2/UncertainBestSelector.cs
r1746 r1777 87 87 int selectedScopeIndex = selectionGroupIndices[poolSize - i - 1]; 88 88 IScope selectedScope = source.SubScopes[selectedScopeIndex]; 89 source.RemoveSubScope(selectedScope); 90 target.AddSubScope(selectedScope); 89 target.AddSubScope((IScope)selectedScope.Clone()); 91 90 selectedScopes.Add(selectedScope); 92 91 } 93 94 if (copySelected) { // non-standard behavior, hope that's okay 92 if (!copySelected) { 95 93 while (selectedScopes.Count > 0) { 96 source. AddSubScope((IScope)selectedScopes[0].Clone());94 source.RemoveSubScope(selectedScopes[0]); 97 95 selectedScopes.RemoveAt(0); 98 96 }
Note: See TracChangeset
for help on using the changeset viewer.