Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/10/10 03:39:02 (15 years ago)
Author:
swagner
Message:

Operator architecture refactoring (#95)

  • worked on parameters and operators
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Operators/3.3/UniformParallelSubScopesProcessor.cs

    r2757 r2773  
    3535  [Creatable("Test")]
    3636  [EmptyStorableClass]
    37   public sealed class UniformParallelSubScopesProcessor : SingleSuccessorOperator {
    38     private OperatorParameter OperatorParameter {
    39       get { return (OperatorParameter)Parameters["Operator"]; }
    40     }
    41     public IOperator Operator {
    42       get { return OperatorParameter.Value; }
    43       set { OperatorParameter.Value = value; }
    44     }
    45 
     37  public sealed class UniformParallelSubScopesProcessor : SingleCallOperator {
    4638    public UniformParallelSubScopesProcessor()
    4739      : base() {
     40      Parameters.Remove("Operator");
    4841      Parameters.Add(new OperatorParameter("Operator", "The operator which should be applied on all sub-scopes of the current scope in parallel."));
    4942    }
    5043
    51     public override IExecutionContext Apply() {
     44    public override IExecutionSequence Apply() {
    5245      ExecutionContextCollection next = new ExecutionContextCollection(base.Apply());
    5346      if (Operator != null) {
Note: See TracChangeset for help on using the changeset viewer.