Changeset 5867 for branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Alba/Moves/ThreeOpt/AlbaStochasticTranslocationSingleMoveGenerator.cs
- Timestamp:
- 03/29/11 15:40:01 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Alba/Moves/ThreeOpt/AlbaStochasticTranslocationSingleMoveGenerator.cs
r5130 r5867 34 34 [Item("AlbaStochasticTranslocationSingleMoveGenerator", "An operator which generates a single translocation move for a VRP representation. It is implemented as described in Alba, E. and Dorronsoro, B. (2004). Solving the Vehicle Routing Problem by Using Cellular Genetic Algorithms.")] 35 35 [StorableClass] 36 public sealed class AlbaStochasticTranslocationSingleMoveGenerator : AlbaMoveGenerator, IAlbaTranslocationMoveOperator , IMultiVRPMoveGenerator{36 public sealed class AlbaStochasticTranslocationSingleMoveGenerator : AlbaMoveGenerator, IAlbaTranslocationMoveOperator { 37 37 [Storable] 38 38 private TranslocationMoveGenerator generator = new StochasticTranslocationSingleMoveGenerator(); … … 80 80 generator.PermutationParameter.ActualName = VRPToursParameter.ActualName; 81 81 IAtomicOperation op = this.ExecutionContext.CreateChildOperation(generator); 82 op.Operator.Execute((IExecutionContext)op );82 op.Operator.Execute((IExecutionContext)op, CancellationToken); 83 83 84 84 foreach (IScope scope in this.ExecutionContext.Scope.SubScopes) {
Note: See TracChangeset
for help on using the changeset viewer.