- Timestamp:
- 01/07/14 15:05:58 (11 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Alba
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Alba/Creators/AlbaCreator.cs
r9456 r10298 45 45 } 46 46 47 public override IOperation Apply() {47 public override IOperation InstrumentedApply() { 48 48 (VRPToursParameter.ActualValue as AlbaEncoding).Repair(); 49 49 50 return base. Apply();50 return base.InstrumentedApply(); 51 51 } 52 52 } -
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Alba/Creators/RandomCreator.cs
r9456 r10298 86 86 } 87 87 88 public override IOperation Apply() {88 public override IOperation InstrumentedApply() { 89 89 //choose default encoding here 90 90 VRPToursParameter.ActualValue = AlbaEncoding.ConvertFrom(CreateSolution(), ProblemInstance); 91 91 92 return base. Apply();92 return base.InstrumentedApply(); 93 93 } 94 94 } -
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Alba/Crossovers/AlbaCrossover.cs
r9456 r10298 52 52 protected abstract AlbaEncoding Crossover(IRandom random, AlbaEncoding parent1, AlbaEncoding parent2); 53 53 54 public override IOperation Apply() {54 public override IOperation InstrumentedApply() { 55 55 ItemArray<IVRPEncoding> parents = new ItemArray<IVRPEncoding>(ParentsParameter.ActualValue.Length); 56 56 for (int i = 0; i < ParentsParameter.ActualValue.Length; i++) { … … 69 69 (ChildParameter.ActualValue as AlbaEncoding).Repair(); 70 70 71 return base. Apply();71 return base.InstrumentedApply(); 72 72 } 73 73 } -
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Alba/LocalImprovement/AlbaLambdaInterchangeLocalImprovementOperator.cs
r9462 r10298 125 125 } 126 126 127 public override IOperation Apply() {127 public override IOperation InstrumentedApply() { 128 128 int maxIterations = MaximumIterationsParameter.ActualValue.Value; 129 129 AlbaEncoding solution = null; … … 146 146 QualityParameter.ActualValue.Value = quality; 147 147 148 return base. Apply();148 return base.InstrumentedApply(); 149 149 } 150 150 } -
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Alba/Manipulators/AlbaManipulator.cs
r9456 r10298 62 62 } 63 63 64 public override IOperation Apply() {64 public override IOperation InstrumentedApply() { 65 65 IVRPEncoding solution = VRPToursParameter.ActualValue; 66 66 if (!(solution is AlbaEncoding)) { … … 71 71 (VRPToursParameter.ActualValue as AlbaEncoding).Repair(); 72 72 73 return base. Apply();73 return base.InstrumentedApply(); 74 74 } 75 75 } -
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Alba/Moves/AlbaMoveGenerator.cs
r9456 r10298 41 41 } 42 42 43 public override IOperation Apply() {43 public override IOperation InstrumentedApply() { 44 44 IVRPEncoding solution = VRPToursParameter.ActualValue; 45 45 if (!(solution is AlbaEncoding)) { … … 47 47 } 48 48 49 return base. Apply();49 return base.InstrumentedApply(); 50 50 } 51 51 } -
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Alba/Moves/IntraRouteInversion/AlbaIntraRouteInversionMoveGenerator.cs
r9456 r10298 58 58 protected abstract AlbaIntraRouteInversionMove[] GenerateMoves(AlbaEncoding individual, IVRPProblemInstance problemInstance); 59 59 60 public override IOperation Apply() {61 IOperation next = base. Apply();60 public override IOperation InstrumentedApply() { 61 IOperation next = base.InstrumentedApply(); 62 62 63 63 AlbaEncoding individual = VRPToursParameter.ActualValue as AlbaEncoding; -
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Alba/Moves/LambdaInterchange/AlbaLambdaInterchangeMoveGenerator.cs
r9456 r10298 68 68 protected abstract AlbaLambdaInterchangeMove[] GenerateMoves(AlbaEncoding individual, IVRPProblemInstance problemInstance, int lambda); 69 69 70 public override IOperation Apply() {71 IOperation next = base. Apply();70 public override IOperation InstrumentedApply() { 71 IOperation next = base.InstrumentedApply(); 72 72 73 73 AlbaEncoding individual = VRPToursParameter.ActualValue as AlbaEncoding; -
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Alba/Moves/ThreeOpt/AlbaStochasticTranslocationSingleMoveGenerator.cs
r9456 r10298 69 69 } 70 70 71 public override IOperation Apply() {72 IOperation next = base. Apply();71 public override IOperation InstrumentedApply() { 72 IOperation next = base.InstrumentedApply(); 73 73 74 74 IVRPEncoding solution = VRPToursParameter.ActualValue; -
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Alba/Moves/ThreeOpt/AlbaTranslocationMoveGenerator.cs
r9456 r10298 93 93 } 94 94 95 public override IOperation Apply() {96 IOperation next = base. Apply();95 public override IOperation InstrumentedApply() { 96 IOperation next = base.InstrumentedApply(); 97 97 98 98 IVRPEncoding solution = VRPToursParameter.ActualValue; -
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Alba/Moves/ThreeOpt/AlbaTranslocationMoveHardTabuCriterion.cs
r9456 r10298 81 81 } 82 82 83 public override IOperation Apply() {84 IOperation next = base. Apply();83 public override IOperation InstrumentedApply() { 84 IOperation next = base.InstrumentedApply(); 85 85 86 86 IVRPEncoding solution = VRPToursParameter.ActualValue; -
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Alba/Moves/ThreeOpt/AlbaTranslocationMoveSoftTabuCriterion.cs
r9456 r10298 81 81 } 82 82 83 public override IOperation Apply() {84 IOperation next = base. Apply();83 public override IOperation InstrumentedApply() { 84 IOperation next = base.InstrumentedApply(); 85 85 86 86 IVRPEncoding solution = VRPToursParameter.ActualValue; -
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Alba/Moves/ThreeOpt/AlbaTranslocationMoveTabuMaker.cs
r9456 r10298 81 81 } 82 82 83 public override IOperation Apply() {84 IOperation next = base. Apply();83 public override IOperation InstrumentedApply() { 84 IOperation next = base.InstrumentedApply(); 85 85 86 86 IVRPEncoding solution = VRPToursParameter.ActualValue;
Note: See TracChangeset
for help on using the changeset viewer.