Changeset 61 for trunk/sources/HeuristicLab.Operators
- Timestamp:
- 03/13/08 23:20:02 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Operators/CombinedOperator.cs
r52 r61 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.