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/Alba/Manipulators/AlbaManipulator.cs

    r4722 r5177  
    4444    }
    4545
    46     protected abstract void Manipulate(IRandom random, AlbaEncoding individual);
     46    protected abstract void Manipulate(IExecutionContext context, IRandom random, AlbaEncoding individual);
    4747
    4848    protected int FindCustomerLocation(int customer, AlbaEncoding individual) {
     
    5858    }
    5959
    60     public override IOperation Apply() {
     60    public override IOperation Apply(IExecutionContext context) {
    6161      IVRPEncoding solution = VRPToursParameter.ActualValue;
    6262      if (!(solution is AlbaEncoding)) {
     
    6464      }
    6565
    66       Manipulate(RandomParameter.ActualValue, VRPToursParameter.ActualValue as AlbaEncoding);
     66      Manipulate(context, RandomParameter.ActualValue, VRPToursParameter.ActualValue as AlbaEncoding);
    6767
    68       return base.Apply();
     68      return base.Apply(context);
    6969    }
    7070  }
Note: See TracChangeset for help on using the changeset viewer.