Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/26/10 03:51:30 (14 years ago)
Author:
swagner
Message:

Removed property ExecutionContext in Operator (#1333)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ParallelEngine/HeuristicLab.Optimization.Operators/3.3/SASEGASAReunificator.cs

    r4722 r5177  
    6161    /// <param name="scope">The current scope whose sub scopes to reduce.</param>
    6262    /// <returns><c>null</c>.</returns>
    63     public override IOperation Apply() {
    64       IScope scope = ExecutionContext.Scope;
     63    public override IOperation Apply(IExecutionContext context) {
     64      IScope scope = context.Scope;
    6565      if (VillageCountParameter.ActualValue == null) VillageCountParameter.ActualValue = new IntValue(scope.SubScopes.Count);
    6666      int villageCount = VillageCountParameter.ActualValue.Value;
     
    9292      VillageCountParameter.ActualValue.Value = villageCount;
    9393
    94       return base.Apply();
     94      return base.Apply(context);
    9595    }
    9696  }
Note: See TracChangeset for help on using the changeset viewer.