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.Problems.VehicleRouting/3.3/Encodings/Zhu/Manipulators/ZhuManipulator.cs

    r4722 r5177  
    4545    }
    4646
    47     protected abstract void Manipulate(IRandom random, ZhuEncoding individual);
     47    protected abstract void Manipulate(IExecutionContext context, IRandom random, ZhuEncoding individual);
    4848
    49     public override IOperation Apply() {
     49    public override IOperation Apply(IExecutionContext context) {
    5050      IVRPEncoding solution = VRPToursParameter.ActualValue;
    5151      if (!(solution is ZhuEncoding)) {
     
    6262      }
    6363
    64       Manipulate(RandomParameter.ActualValue, VRPToursParameter.ActualValue as ZhuEncoding);
     64      Manipulate(context, RandomParameter.ActualValue, VRPToursParameter.ActualValue as ZhuEncoding);
    6565
    66       return base.Apply();
     66      return base.Apply(context);
    6767    }
    6868  }
Note: See TracChangeset for help on using the changeset viewer.