Changeset 17698 for branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Interpreters
- Timestamp:
- 07/24/20 00:58:42 (4 years ago)
- Location:
- branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Interpreters
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Interpreters/IVRPDataInterpreter.cs
r17226 r17698 29 29 public IVRPProblemInstance ProblemInstance { get; set; } 30 30 public double? BestKnownQuality { get; set; } 31 public IVRPEncod ingBestKnownSolution { get; set; }31 public IVRPEncodedSolution BestKnownSolution { get; set; } 32 32 } 33 33 -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Interpreters/VRPInterpreter.cs
r17226 r17698 29 29 protected abstract void Interpret(IVRPData data, IVRPProblemInstance problemInstance); 30 30 31 protected virtual IVRPEncod ingGetBestKnowTour(IVRPData data, IVRPProblemInstance problemInstance) {31 protected virtual IVRPEncodedSolution GetBestKnowTour(IVRPData data, IVRPProblemInstance problemInstance) { 32 32 if (data.BestKnownTour != null) { 33 PotvinEncod ing solution = new PotvinEncoding(problemInstance);33 PotvinEncodedSolution solution = new PotvinEncodedSolution(problemInstance); 34 34 35 35 for (int i = 0; i < data.BestKnownTour.GetLength(0); i++) {
Note: See TracChangeset
for help on using the changeset viewer.