Changeset 14482 for trunk/sources/HeuristicLab.Problems.VehicleRouting
- Timestamp:
- 12/12/16 17:14:14 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/VRPProblemInstance.cs
r14185 r14482 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
Note: See TracChangeset
for help on using the changeset viewer.