Changeset 52 for trunk/sources/HeuristicLab.Operators/CombinedOperator.cs
- Timestamp:
- 03/06/08 02:48:48 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Operators/CombinedOperator.cs
r48 r52 71 71 scope.AddVariable(new Variable(SubOperators[i].Name, SubOperators[i])); 72 72 } 73 74 foreach (IVariableInfo variableInfo in VariableInfos) { 75 IItem value = GetVariableValue(variableInfo.FormalName, scope, true, true); 76 if (scope.GetVariable(variableInfo.FormalName) != null) 77 scope.RemoveVariable(variableInfo.FormalName); 78 scope.AddVariable(new Variable(variableInfo.FormalName, value)); 79 } 80 73 81 return new AtomicOperation(OperatorGraph.InitialOperator, scope); 74 82 } else {
Note: See TracChangeset
for help on using the changeset viewer.