- Timestamp:
- 09/29/11 15:51:56 (13 years ago)
- Location:
- branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Interfaces
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Interfaces/IVRPEncoding.cs
r4363 r6851 29 29 public interface IVRPEncoding: IItem { 30 30 List<Tour> GetTours(); 31 int GetTourIndex(Tour tour); 32 int GetVehicleAssignment(int tour); 31 33 } 32 34 } -
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Interfaces/IVRPEvaluator.cs
r6838 r6851 35 35 VRPEvaluation EvaluateTour(IVRPProblemInstance instance, Tour tour, IVRPEncoding solution); 36 36 bool Feasible(VRPEvaluation evaluation); 37 double GetInsertionCosts(IVRPProblemInstance instance, VRPEvaluation eval, int customer, int tour, int index, out bool feasible);37 double GetInsertionCosts(IVRPProblemInstance instance, IVRPEncoding solution, VRPEvaluation eval, int customer, int tour, int index, out bool feasible); 38 38 } 39 39 } -
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Interfaces/IVRPProblemInstance.cs
r6838 r6851 48 48 DoubleValue DistanceFactor { get; } 49 49 50 double GetDistance(int start, int end); 50 double[] GetCoordinates(int city); 51 double GetDemand(int city); 52 double GetDistance(int start, int end, IVRPEncoding solution); 53 double GetInsertionDistance(int start, int customer, int end, IVRPEncoding solution); 51 54 bool Feasible(IVRPEncoding solution); 52 55 bool TourFeasible(Tour tour, IVRPEncoding solution); … … 54 57 VRPEvaluation EvaluateTour(Tour tour, IVRPEncoding solution); 55 58 bool Feasible(VRPEvaluation eval); 56 double GetInsertionCosts(VRPEvaluation eval, int customer, int tour, int index, out bool feasible);59 double GetInsertionCosts(VRPEvaluation eval, IVRPEncoding solution, int customer, int tour, int index, out bool feasible); 57 60 } 58 61 }
Note: See TracChangeset
for help on using the changeset viewer.