Changeset 101
- Timestamp:
- 03/26/08 19:01:53 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Operators/ScopeCleaner.cs
r100 r101 33 33 34 34 public override IOperation Apply(IScope scope) { 35 // remove all subscopes 36 while (scope.SubScopes.Count > 0) 37 scope.RemoveSubScope(scope.SubScopes[0]); 38 // remove all variables 39 foreach (IVariable var in scope.Variables) 40 scope.RemoveVariable(var.Name); 35 scope.Clear(); 41 36 return null; 42 37 }
Note: See TracChangeset
for help on using the changeset viewer.