Changeset 58
- Timestamp:
- 03/10/08 01:24:08 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Modularization/HeuristicLab.Operators/CombinedOperator.cs
r52 r58 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 81 73 return new AtomicOperation(OperatorGraph.InitialOperator, scope); 82 74 } else {
Note: See TracChangeset
for help on using the changeset viewer.