Changeset 14482
- Timestamp:
- 12/12/16 17:14:14 (8 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 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.