Changeset 10648 for stable/HeuristicLab.Problems.VehicleRouting
- Timestamp:
- 03/22/14 12:59:35 (11 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 10362-10363
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.VehicleRouting
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.VehicleRouting merged: 10362-10363
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.VehicleRouting/3.4/VehicleRoutingProblem.cs
r10361 r10648 143 143 AttachEventHandlers(); 144 144 AttachProblemInstanceEventHandlers(); 145 146 EvaluatorParameter.Value = ProblemInstance.SolutionEvaluator; 145 147 } 146 148 … … 154 156 this.AttachEventHandlers(); 155 157 this.AttachProblemInstanceEventHandlers(); 158 159 ProblemInstance.SolutionEvaluator = EvaluatorParameter.Value; 156 160 } 157 161 … … 174 178 AttachEventHandlers(); 175 179 AttachProblemInstanceEventHandlers(); 180 181 ProblemInstance.SolutionEvaluator = EvaluatorParameter.Value; 176 182 } 177 183 … … 190 196 private void AttachProblemInstanceEventHandlers() { 191 197 if (ProblemInstance != null) { 192 EvaluatorParameter.Value = ProblemInstance.SolutionEvaluator;193 198 ProblemInstance.EvaluationChanged += new EventHandler(ProblemInstance_EvaluationChanged); 194 199 } … … 210 215 211 216 void ProblemInstance_EvaluationChanged(object sender, EventArgs e) { 212 EvaluatorParameter.Value = ProblemInstance.SolutionEvaluator;213 217 EvalBestKnownSolution(); 214 218 } … … 217 221 InitializeOperators(); 218 222 AttachProblemInstanceEventHandlers(); 223 224 EvaluatorParameter.Value = ProblemInstance.SolutionEvaluator; 219 225 220 226 OnSolutionCreatorChanged();
Note: See TracChangeset
for help on using the changeset viewer.