Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/13/10 13:54:30 (14 years ago)
Author:
svonolfe
Message:

Improved moves, fixed behavior for SA (#1177)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Alba/Moves/ThreeOpt/AlbaTranslocationMoveMaker.cs

    r4370 r4383  
    5454
    5555    protected override void PerformMove() {
     56      IVariable moveVariable = this.ExecutionContext.Scope.Variables[
     57        TranslocationMoveParameter.ActualName];
     58      TranslocationMove move = moveVariable.Value as TranslocationMove;
     59      VRPToursParameter.ActualValue = move.Permutation as AlbaEncoding;
     60
    5661      moveMaker.PermutationParameter.ActualName = VRPToursParameter.ActualName;
    5762      IAtomicOperation op = this.ExecutionContext.CreateChildOperation(moveMaker);
Note: See TracChangeset for help on using the changeset viewer.