Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/07/08 09:12:59 (16 years ago)
Author:
gkronber
Message:

changed meta prog. operators to work with CombinedOperators as input and output values (this should be general policy in all operators of this plugin) (#203)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Operators.Metaprogramming/SequentialComposer.cs

    r465 r466  
    4545
    4646      foreach(StringData opName in parts) {
    47         IOperatorGraph subOpGraph = scope.GetVariableValue<IOperatorGraph>(opName.Data, true);
    48         foreach(IOperator op in subOpGraph.Operators)
     47        CombinedOperator subOp = scope.GetVariableValue<CombinedOperator>(opName.Data, true);
     48        foreach(IOperator op in subOp.OperatorGraph.Operators)
    4949          combOp.OperatorGraph.AddOperator(op);
    50         seq.AddSubOperator(subOpGraph.InitialOperator);
     50        seq.AddSubOperator(subOp.OperatorGraph.InitialOperator);
    5151      }
    5252      combOp.OperatorGraph.AddOperator(seq);
Note: See TracChangeset for help on using the changeset viewer.