Changeset 4620
- Timestamp:
- 10/19/10 15:52:46 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.3/VehicleRoutingProblem.cs
r4619 r4620 284 284 285 285 BestKnownSolution = null; 286 BestKnownQuality = null;287 286 } 288 287 private void Coordinates_ItemChanged(object sender, EventArgs<int, int> e) { … … 290 289 291 290 BestKnownSolution = null; 292 BestKnownQuality = null;293 291 } 294 292 private void Coordinates_Reset(object sender, EventArgs e) { … … 297 295 298 296 BestKnownSolution = null; 299 BestKnownQuality = null;300 297 } 301 298 private void SolutionCreatorParameter_ValueChanged(object sender, EventArgs e) { … … 384 381 Capacity.ValueChanged += new EventHandler(Capacity_ValueChanged); 385 382 BestKnownSolution = null; 386 BestKnownQuality = null;387 383 } 388 384 void Capacity_ValueChanged(object sender, EventArgs e) { 389 385 BestKnownSolution = null; 390 BestKnownQuality = null;391 386 } 392 387 void DemandParameter_ValueChanged(object sender, EventArgs e) { 393 388 Demand.ItemChanged += new EventHandler<EventArgs<int>>(Demand_ItemChanged); 394 389 Demand.Reset += new EventHandler(Demand_Reset); 395 396 BestKnownSolution = null; 397 BestKnownQuality = null; 390 BestKnownSolution = null; 398 391 } 399 392 void Demand_Reset(object sender, EventArgs e) { 400 393 BestKnownSolution = null; 401 BestKnownQuality = null;402 394 } 403 395 void Demand_ItemChanged(object sender, EventArgs<int> e) { 404 396 BestKnownSolution = null; 405 BestKnownQuality = null;406 397 } 407 398 void DueTimeParameter_ValueChanged(object sender, EventArgs e) { … … 409 400 DueTime.Reset += new EventHandler(DueTime_Reset); 410 401 BestKnownSolution = null; 411 BestKnownQuality = null;412 402 } 413 403 void DueTime_Reset(object sender, EventArgs e) { 414 404 BestKnownSolution = null; 415 BestKnownQuality = null;416 405 } 417 406 void DueTime_ItemChanged(object sender, EventArgs<int> e) { 418 407 BestKnownSolution = null; 419 BestKnownQuality = null;420 408 } 421 409 void ReadyTimeParameter_ValueChanged(object sender, EventArgs e) { … … 423 411 ReadyTime.Reset += new EventHandler(ReadyTime_Reset); 424 412 BestKnownSolution = null; 425 BestKnownQuality = null;426 413 } 427 414 void ReadyTime_Reset(object sender, EventArgs e) { 428 415 BestKnownSolution = null; 429 BestKnownQuality = null;430 416 } 431 417 void ReadyTime_ItemChanged(object sender, EventArgs<int> e) { 432 418 BestKnownSolution = null; 433 BestKnownQuality = null;434 419 } 435 420 void ServiceTimeParameter_ValueChanged(object sender, EventArgs e) { … … 437 422 ServiceTime.Reset += new EventHandler(ServiceTime_Reset); 438 423 BestKnownSolution = null; 439 BestKnownQuality = null;440 424 } 441 425 void ServiceTime_Reset(object sender, EventArgs e) { 442 426 BestKnownSolution = null; 443 BestKnownQuality = null;444 427 } 445 428 void ServiceTime_ItemChanged(object sender, EventArgs<int> e) { 446 429 BestKnownSolution = null; 447 BestKnownQuality = null;448 430 } 449 431 void VehiclesParameter_ValueChanged(object sender, EventArgs e) { 450 432 Vehicles.ValueChanged += new EventHandler(Vehicles_ValueChanged); 451 433 BestKnownSolution = null; 452 BestKnownQuality = null;453 434 } 454 435 void Vehicles_ValueChanged(object sender, EventArgs e) { 455 436 BestKnownSolution = null; 456 BestKnownQuality = null; 437 } 438 void BestKnownSolutionParameter_ValueChanged(object sender, EventArgs e) { 439 EvalBestKnownSolution(); 457 440 } 458 441 #endregion … … 507 490 VehiclesParameter.ValueChanged += new EventHandler(VehiclesParameter_ValueChanged); 508 491 Vehicles.ValueChanged += new EventHandler(Vehicles_ValueChanged); 492 493 BestKnownSolutionParameter.ValueChanged += new EventHandler(BestKnownSolutionParameter_ValueChanged); 509 494 } 510 495 … … 734 719 735 720 BestKnownSolutionParameter.Value = encoding; 736 EvalBestKnownSolution();737 721 } 738 722
Note: See TracChangeset
for help on using the changeset viewer.