Closed HeuristicLab-Trac-Bot closed 11 years ago
Improved the design of the interpreters so code duplication is avoided in r8649
The distance matrix was reset when starting an algorithm the first time (r8652)
vehicles were not assigned correctly when a solution includes empty trips (r8653)
Reviewing comments:
- Use explicit conversions (casts) in
Interpreters
instead of theas
operator.IVRPDataInterpreter.GetDataType
is not used anywhere.- Remove the local field
distanceMatrix
from theVRPProblemInstance
and refactor theGetDistance
method.I would suggest that you fix parameters which are determined by the loaded problem instance, e.g. vehicles, depots.
r9010: used explicit conversions in Interpreters and removed the unused method IVRPDataInterpreter.GetDataType
Issue migrated from trac ticket # 1953
milestone: HeuristicLab 3.3.8 | component: Problems.VehicleRouting | priority: medium | resolution: done
2012-09-14 10:01:41: svonolfe created the issue