- Timestamp:
- 03/12/13 12:20:25 (12 years ago)
- Location:
- branches/ImprovingStringConvertibleMatrix/HeuristicLab.Problems.VehicleRouting
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ImprovingStringConvertibleMatrix/HeuristicLab.Problems.VehicleRouting/3.3/VehicleRoutingProblem.cs
r9306 r9308 297 297 } 298 298 void DemandParameter_ValueChanged(object sender, EventArgs e) { 299 Demand.Item Changed += new EventHandler<EventArgs<int>>(Demand_ItemChanged);299 Demand.ItemsChanged += new EventHandler<ArrayValuesChangedEventArgs>(Demand_ItemChanged); 300 300 Demand.Reset += new EventHandler(Demand_Reset); 301 301 BestKnownSolution = null; … … 304 304 BestKnownSolution = null; 305 305 } 306 void Demand_ItemChanged(object sender, EventArgs<int>e) {306 void Demand_ItemChanged(object sender, ArrayValuesChangedEventArgs e) { 307 307 BestKnownSolution = null; 308 308 } 309 309 void DueTimeParameter_ValueChanged(object sender, EventArgs e) { 310 DueTime.Item Changed += new EventHandler<EventArgs<int>>(DueTime_ItemChanged);310 DueTime.ItemsChanged += new EventHandler<ArrayValuesChangedEventArgs>(DueTime_ItemChanged); 311 311 DueTime.Reset += new EventHandler(DueTime_Reset); 312 312 BestKnownSolution = null; … … 315 315 BestKnownSolution = null; 316 316 } 317 void DueTime_ItemChanged(object sender, EventArgs<int>e) {317 void DueTime_ItemChanged(object sender, ArrayValuesChangedEventArgs e) { 318 318 BestKnownSolution = null; 319 319 } 320 320 void ReadyTimeParameter_ValueChanged(object sender, EventArgs e) { 321 ReadyTime.Item Changed += new EventHandler<EventArgs<int>>(ReadyTime_ItemChanged);321 ReadyTime.ItemsChanged += new EventHandler<ArrayValuesChangedEventArgs>(ReadyTime_ItemChanged); 322 322 ReadyTime.Reset += new EventHandler(ReadyTime_Reset); 323 323 BestKnownSolution = null; … … 326 326 BestKnownSolution = null; 327 327 } 328 void ReadyTime_ItemChanged(object sender, EventArgs<int>e) {328 void ReadyTime_ItemChanged(object sender, ArrayValuesChangedEventArgs e) { 329 329 BestKnownSolution = null; 330 330 } 331 331 void ServiceTimeParameter_ValueChanged(object sender, EventArgs e) { 332 ServiceTime.Item Changed += new EventHandler<EventArgs<int>>(ServiceTime_ItemChanged);332 ServiceTime.ItemsChanged += new EventHandler<ArrayValuesChangedEventArgs>(ServiceTime_ItemChanged); 333 333 ServiceTime.Reset += new EventHandler(ServiceTime_Reset); 334 334 BestKnownSolution = null; … … 337 337 BestKnownSolution = null; 338 338 } 339 void ServiceTime_ItemChanged(object sender, EventArgs<int>e) {339 void ServiceTime_ItemChanged(object sender, ArrayValuesChangedEventArgs e) { 340 340 BestKnownSolution = null; 341 341 } … … 392 392 Capacity.ValueChanged += new EventHandler(Capacity_ValueChanged); 393 393 DemandParameter.ValueChanged += new EventHandler(DemandParameter_ValueChanged); 394 Demand.Item Changed += new EventHandler<EventArgs<int>>(Demand_ItemChanged);394 Demand.ItemsChanged += new EventHandler<ArrayValuesChangedEventArgs>(Demand_ItemChanged); 395 395 Demand.Reset += new EventHandler(Demand_Reset); 396 396 DueTimeParameter.ValueChanged += new EventHandler(DueTimeParameter_ValueChanged); 397 DueTime.Item Changed += new EventHandler<EventArgs<int>>(DueTime_ItemChanged);397 DueTime.ItemsChanged += new EventHandler<ArrayValuesChangedEventArgs>(DueTime_ItemChanged); 398 398 DueTime.Reset += new EventHandler(DueTime_Reset); 399 399 ReadyTimeParameter.ValueChanged += new EventHandler(ReadyTimeParameter_ValueChanged); 400 ReadyTime.Item Changed += new EventHandler<EventArgs<int>>(ReadyTime_ItemChanged);400 ReadyTime.ItemsChanged += new EventHandler<ArrayValuesChangedEventArgs>(ReadyTime_ItemChanged); 401 401 ReadyTime.Reset += new EventHandler(ReadyTime_Reset); 402 402 ServiceTimeParameter.ValueChanged += new EventHandler(ServiceTimeParameter_ValueChanged); 403 ServiceTime.Item Changed += new EventHandler<EventArgs<int>>(ServiceTime_ItemChanged);403 ServiceTime.ItemsChanged += new EventHandler<ArrayValuesChangedEventArgs>(ServiceTime_ItemChanged); 404 404 ServiceTime.Reset += new EventHandler(ServiceTime_Reset); 405 405 VehiclesParameter.ValueChanged += new EventHandler(VehiclesParameter_ValueChanged); -
branches/ImprovingStringConvertibleMatrix/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/MultiDepotVRP/MDCVRP/MDCVRPTW/MDCVRPPDTW/MDCVRPPDTWProblemInstance.cs
r8053 r9308 125 125 #region Event handlers 126 126 void PickupDeliveryLocationParameter_ValueChanged(object sender, EventArgs e) { 127 PickupDeliveryLocationParameter.Value.Item Changed += new EventHandler<EventArgs<int>>(Value_ItemChanged);127 PickupDeliveryLocationParameter.Value.ItemsChanged += new EventHandler<ArrayValuesChangedEventArgs>(Value_ItemChanged); 128 128 EvalBestKnownSolution(); 129 129 } 130 130 131 void Value_ItemChanged(object sender, EventArgs<int>e) {131 void Value_ItemChanged(object sender, ArrayValuesChangedEventArgs e) { 132 132 EvalBestKnownSolution(); 133 133 } -
branches/ImprovingStringConvertibleMatrix/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/CVRP/CVRPTW/CVRPPDTW/CVRPPDTWProblemInstance.cs
r8053 r9308 125 125 #region Event handlers 126 126 void PickupDeliveryLocationParameter_ValueChanged(object sender, EventArgs e) { 127 PickupDeliveryLocationParameter.Value.Item Changed += new EventHandler<EventArgs<int>>(Value_ItemChanged);127 PickupDeliveryLocationParameter.Value.ItemsChanged += new EventHandler<ArrayValuesChangedEventArgs>(Value_ItemChanged); 128 128 EvalBestKnownSolution(); 129 129 } 130 130 131 void Value_ItemChanged(object sender, EventArgs<int>e) {131 void Value_ItemChanged(object sender, ArrayValuesChangedEventArgs e) { 132 132 EvalBestKnownSolution(); 133 133 }
Note: See TracChangeset
for help on using the changeset viewer.