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/Prins/Manipulators/PrinsManipulator.cs

    r4722 r5177  
    6464    }
    6565
    66     protected abstract void Manipulate(IRandom random, PrinsEncoding individual);
     66    protected abstract void Manipulate(IExecutionContext context, IRandom random, PrinsEncoding individual);
    6767
    68     public override IOperation Apply() {
     68    public override IOperation Apply(IExecutionContext context) {
    6969      IVRPEncoding solution = VRPToursParameter.ActualValue;
    7070      if (!(solution is PrinsEncoding)) {
     
    8686      }
    8787
    88       Manipulate(RandomParameter.ActualValue, VRPToursParameter.ActualValue as PrinsEncoding);
     88      Manipulate(context, RandomParameter.ActualValue, VRPToursParameter.ActualValue as PrinsEncoding);
    8989
    90       return base.Apply();
     90      return base.Apply(context);
    9191    }
    9292  }
Note: See TracChangeset for help on using the changeset viewer.