Changeset 7861 for branches/VRP/HeuristicLab.Problems.VehicleRouting
- Timestamp:
- 05/21/12 15:44:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/VehicleRoutingProblem.cs
r7853 r7861 182 182 private void AttachEventHandlers() { 183 183 ProblemInstanceParameter.ValueChanged += new EventHandler(ProblemInstanceParameter_ValueChanged); 184 BestKnownSolutionParameter.ValueChanged += new EventHandler(BestKnownSolutionParameter_ValueChanged); 184 185 } 185 186 … … 197 198 } 198 199 199 void ProblemInstance_EvaluationChanged(object sender, EventArgs e) {200 private void EvalBestKnownSolution() { 200 201 if (BestKnownSolution != null) { 201 202 //call evaluator … … 205 206 BestKnownQuality = null; 206 207 } 208 } 209 210 void BestKnownSolutionParameter_ValueChanged(object sender, EventArgs e) { 211 EvalBestKnownSolution(); 212 } 213 214 void ProblemInstance_EvaluationChanged(object sender, EventArgs e) { 215 EvalBestKnownSolution(); 207 216 } 208 217
Note: See TracChangeset
for help on using the changeset viewer.