Changeset 4288
- Timestamp:
- 08/23/10 14:26:13 (14 years ago)
- Location:
- branches/VRP/HeuristicLab.Problems.VehicleRouting/3.3/Encodings
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/Alba/Moves/IntraRouteInversion/IntraRouteInversionMove.cs
r4287 r4288 72 72 } 73 73 74 public IVRPEncoding MakeMove( IRandom random) {74 public IVRPEncoding MakeMove() { 75 75 IntraRouteInversionMoveMaker.Apply(Individual as AlbaEncoding, this); 76 76 -
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/Alba/Moves/IntraRouteInversion/IntraRouteInversionMoveMaker.cs
r4206 r4288 61 61 IOperation next = base.Apply(); 62 62 63 AlbaEncoding solution = VRPToursParameter.ActualValue as AlbaEncoding;64 65 63 IntraRouteInversionMove move = IntraRouteInversionMoveParameter.ActualValue; 66 64 DoubleValue moveQuality = MoveQualityParameter.ActualValue; … … 68 66 69 67 //perform move 70 Apply(solution, move);68 VRPToursParameter.ActualValue = move.MakeMove(); 71 69 72 70 quality.Value = moveQuality.Value; -
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/Alba/Moves/LambdaInterchange/LambdaInterchangeMove.cs
r4287 r4288 111 111 } 112 112 113 public IVRPEncoding MakeMove( IRandom random) {113 public IVRPEncoding MakeMove() { 114 114 LambdaInterchangeMoveMaker.Apply(Individual as AlbaEncoding, this); 115 115 -
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/Alba/Moves/LambdaInterchange/LambdaInterchangeMoveMaker.cs
r4206 r4288 65 65 IOperation next = base.Apply(); 66 66 67 AlbaEncoding solution = VRPToursParameter.ActualValue as AlbaEncoding;68 69 67 LambdaInterchangeMove move = LambdaInterchangeMoveParameter.ActualValue; 70 68 DoubleValue moveQuality = MoveQualityParameter.ActualValue; … … 72 70 73 71 //perform move 74 Apply(solution, move);72 VRPToursParameter.ActualValue = move.MakeMove(); 75 73 76 74 quality.Value = moveQuality.Value; -
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/General/Moves/Interfaces/IVRPMove.cs
r4287 r4288 34 34 ILookupParameter<DoubleMatrix> distanceMatrix, BoolValue useDistanceMatrix); 35 35 36 IVRPEncoding MakeMove( IRandom random);36 IVRPEncoding MakeMove(); 37 37 } 38 38 } -
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/General/Moves/MultiVRPMoveOperator/MultiVRPMoveMaker.cs
r4287 r4288 114 114 115 115 //perform move 116 VRPToursParameter.ActualValue = move.MakeMove( RandomParameter.ActualValue);116 VRPToursParameter.ActualValue = move.MakeMove(); 117 117 118 118 quality.Value = moveQuality.Value;
Note: See TracChangeset
for help on using the changeset viewer.