Changeset 58


Ignore:
Timestamp:
03/10/08 01:24:08 (13 years ago)
Author:
swagner
Message:

Worked on ticket #48

  • removed automatic injection of variables in CombinedOperator
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Modularization/HeuristicLab.Operators/CombinedOperator.cs

    r52 r58  
    7171          scope.AddVariable(new Variable(SubOperators[i].Name, SubOperators[i]));
    7272        }
    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 
    8173        return new AtomicOperation(OperatorGraph.InitialOperator, scope);
    8274      } else {
Note: See TracChangeset for help on using the changeset viewer.