Changeset 50


Ignore:
Timestamp:
03/06/08 01:53:00 (13 years ago)
Author:
swagner
Message:

Worked on ticket #48

  • added variable info in OperatorExtractor representing the operator that should be extracted
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Operators/OperatorExtractor.cs

    r48 r50  
    3636    public OperatorExtractor()
    3737      : base() {
     38      AddVariableInfo(new VariableInfo("Operator", "Extracted operator", typeof(IOperator), VariableKind.In));
    3839    }
    3940
    4041    public override IOperation Apply(IScope scope) {
    41       IOperator op = scope.GetVariableValue<IOperator>(Name, true, true);
     42      IOperator op = GetVariableValue<IOperator>("Operator", scope, true, true);
    4243      return new AtomicOperation(op, scope);
    4344    }
Note: See TracChangeset for help on using the changeset viewer.