Changeset 15066 for stable/HeuristicLab.Problems.VehicleRouting
- Timestamp:
- 06/26/17 15:19:25 (7 years ago)
- Location:
- stable
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 14478,14481-14482,14504
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.VehicleRouting
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.VehicleRouting merged: 14481-14482
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/VRPProblemInstance.cs
r14186 r15066 190 190 public virtual double GetDistance(int start, int end, IVRPEncoding solution) { 191 191 if (distanceMatrix == null && UseDistanceMatrix.Value) { 192 if (DistanceMatrix == null) DistanceMatrix = CreateDistanceMatrix(); 193 distanceMatrix = DistanceMatrix; 192 distanceMatrix = DistanceMatrix ?? CreateDistanceMatrix(); 194 193 } 195 194 -
stable/HeuristicLab.Problems.VehicleRouting/3.4/VehicleRoutingProblem.cs
r14186 r15066 198 198 BestKnownQuality = new DoubleValue(ProblemInstance.Evaluate(BestKnownSolution.Solution).Quality); 199 199 BestKnownSolution.Quality = BestKnownQuality; 200 } else {201 BestKnownQuality = null;202 200 } 203 201 } … … 208 206 209 207 void ProblemInstance_EvaluationChanged(object sender, EventArgs e) { 208 BestKnownQuality = null; 210 209 EvalBestKnownSolution(); 211 210 }
Note: See TracChangeset
for help on using the changeset viewer.