Changeset 16692 for branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/CVRP
- Timestamp:
- 03/18/19 17:24:30 (6 years ago)
- Location:
- branches/2521_ProblemRefactoring
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring
- Property svn:ignore
-
old new 24 24 protoc.exe 25 25 obj 26 .vs
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting
- Property svn:mergeinfo changed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/CVRP/CVRPEvaluation.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/CVRP/CVRPEvaluator.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/CVRP/CVRPProblemInstance.cs
r12488 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/CVRP/CVRPTW/CVRPPDTW/CVRPPDTWEvaluation.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/CVRP/CVRPTW/CVRPPDTW/CVRPPDTWEvaluator.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/CVRP/CVRPTW/CVRPPDTW/CVRPPDTWProblemInstance.cs
r12488 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 117 117 118 118 private void AttachEventHandlers() { 119 PickupDeliveryLocationParameter.ValueChanged += new EventHandler(PickupDeliveryLocationParameter_ValueChanged); 119 PickupDeliveryLocationParameter.ValueChanged += PickupDeliveryLocationParameter_ValueChanged; 120 PickupDeliveryLocation.Reset += PickupDeliveryLocation_Changed; 121 PickupDeliveryLocation.ItemChanged += PickupDeliveryLocation_Changed; 120 122 } 121 123 … … 128 130 #region Event handlers 129 131 void PickupDeliveryLocationParameter_ValueChanged(object sender, EventArgs e) { 130 PickupDeliveryLocationParameter.Value.ItemChanged += new EventHandler<EventArgs<int>>(Value_ItemChanged); 132 PickupDeliveryLocation.Reset += PickupDeliveryLocation_Changed; 133 PickupDeliveryLocation.ItemChanged += PickupDeliveryLocation_Changed; 131 134 EvalBestKnownSolution(); 132 135 } 133 134 void Value_ItemChanged(object sender, EventArgs<int> e) { 136 private void PickupDeliveryLocation_Changed(object sender, EventArgs e) { 135 137 EvalBestKnownSolution(); 136 138 } -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/CVRP/CVRPTW/CVRPTWEvaluation.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/CVRP/CVRPTW/CVRPTWEvaluator.cs
r12012 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/CVRP/CVRPTW/CVRPTWProblemInstance.cs
r12488 r16692 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 136 136 137 137 private void AttachEventHandlers() { 138 TardinessPenaltyParameter.ValueChanged += new EventHandler(TardinessPenaltyParameter_ValueChanged); 139 TardinessPenaltyParameter.Value.ValueChanged += new EventHandler(TardinessPenalty_ValueChanged); 140 TimeFactorParameter.ValueChanged += new EventHandler(TimeFactorParameter_ValueChanged); 141 TimeFactorParameter.Value.ValueChanged += new EventHandler(TimeFactor_ValueChanged); 138 ReadyTimeParameter.ValueChanged += ReadyTimeParameter_ValueChanged; 139 ReadyTime.Reset += ReadyTime_Changed; 140 ReadyTime.ItemChanged += ReadyTime_Changed; 141 DueTimeParameter.ValueChanged += DueTimeParameter_ValueChanged; 142 DueTime.Reset += DueTime_Changed; 143 DueTime.ItemChanged += DueTime_Changed; 144 ServiceTimeParameter.ValueChanged += ServiceTimeParameter_ValueChanged; 145 ServiceTime.Reset += ServiceTime_Changed; 146 ServiceTime.ItemChanged += ServiceTime_Changed; 147 TardinessPenaltyParameter.ValueChanged += TardinessPenaltyParameter_ValueChanged; 148 TardinessPenalty.ValueChanged += TardinessPenalty_ValueChanged; 149 TimeFactorParameter.ValueChanged += TimeFactorParameter_ValueChanged; 150 TimeFactor.ValueChanged += TimeFactor_ValueChanged; 142 151 } 143 152 … … 149 158 150 159 #region Event handlers 151 void TardinessPenaltyParameter_ValueChanged(object sender, EventArgs e) { 152 TardinessPenaltyParameter.Value.ValueChanged += new EventHandler(TardinessPenalty_ValueChanged); 153 EvalBestKnownSolution(); 154 } 155 void TardinessPenalty_ValueChanged(object sender, EventArgs e) { 156 EvalBestKnownSolution(); 157 } 158 void TimeFactorParameter_ValueChanged(object sender, EventArgs e) { 159 TimeFactorParameter.Value.ValueChanged += new EventHandler(TimeFactor_ValueChanged); 160 EvalBestKnownSolution(); 161 } 162 void TimeFactor_ValueChanged(object sender, EventArgs e) { 160 private void ReadyTimeParameter_ValueChanged(object sender, EventArgs e) { 161 ReadyTime.Reset += ReadyTime_Changed; 162 ReadyTime.ItemChanged += ReadyTime_Changed; 163 EvalBestKnownSolution(); 164 } 165 private void ReadyTime_Changed(object sender, EventArgs e) { 166 EvalBestKnownSolution(); 167 } 168 private void DueTimeParameter_ValueChanged(object sender, EventArgs e) { 169 DueTime.Reset += DueTime_Changed; 170 DueTime.ItemChanged += DueTime_Changed; 171 EvalBestKnownSolution(); 172 } 173 private void DueTime_Changed(object sender, EventArgs e) { 174 EvalBestKnownSolution(); 175 } 176 private void ServiceTimeParameter_ValueChanged(object sender, EventArgs e) { 177 ServiceTime.Reset += ServiceTime_Changed; 178 ServiceTime.ItemChanged += ServiceTime_Changed; 179 EvalBestKnownSolution(); 180 } 181 private void ServiceTime_Changed(object sender, EventArgs e) { 182 EvalBestKnownSolution(); 183 } 184 private void TardinessPenaltyParameter_ValueChanged(object sender, EventArgs e) { 185 TardinessPenaltyParameter.Value.ValueChanged += TardinessPenalty_ValueChanged; 186 EvalBestKnownSolution(); 187 } 188 private void TardinessPenalty_ValueChanged(object sender, EventArgs e) { 189 EvalBestKnownSolution(); 190 } 191 private void TimeFactorParameter_ValueChanged(object sender, EventArgs e) { 192 TimeFactorParameter.Value.ValueChanged += TimeFactor_ValueChanged; 193 EvalBestKnownSolution(); 194 } 195 private void TimeFactor_ValueChanged(object sender, EventArgs e) { 163 196 EvalBestKnownSolution(); 164 197 }
Note: See TracChangeset
for help on using the changeset viewer.