Changeset 17711 for branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Interfaces/IVRPProblemInstance.cs
- Timestamp:
- 08/03/20 18:06:16 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Interfaces/IVRPProblemInstance.cs
r17698 r17711 22 22 using System; 23 23 using System.Collections.Generic; 24 using HEAL.Attic; 24 25 using HeuristicLab.Core; 25 26 using HeuristicLab.Data; 26 27 using HeuristicLab.Problems.VehicleRouting.ProblemInstances; 27 using HEAL.Attic;28 28 29 29 namespace HeuristicLab.Problems.VehicleRouting.Interfaces { 30 30 [StorableType("B8E231D0-6BA9-4DCF-9585-95E46B280B47")] 31 31 public interface IVRPProblemInstance : IParameterizedNamedItem { 32 IVRPEvaluator SolutionEvaluator { get; set; } 33 IVRPEvaluator MoveEvaluator { get; } 34 IEnumerable<IOperator> Operators { get; } 32 IEnumerable<IOperator> FilterOperators(IEnumerable<IOperator> operators); 35 33 36 34 event EventHandler EvaluationChanged; … … 50 48 double GetDistance(int start, int end, IVRPEncodedSolution solution); 51 49 double GetInsertionDistance(int start, int customer, int end, IVRPEncodedSolution solution, out double startDistance, out double endDistance); 52 bool Feasible(IVRPEncodedSolution solution);53 bool TourFeasible(Tour tour, IVRPEncodedSolution solution);54 50 VRPEvaluation Evaluate(IVRPEncodedSolution solution); 55 51 VRPEvaluation EvaluateTour(Tour tour, IVRPEncodedSolution solution); 56 bool Feasible(VRPEvaluation eval);57 52 double GetInsertionCosts(VRPEvaluation eval, IVRPEncodedSolution solution, int customer, int tour, int index, out bool feasible); 58 53 }
Note: See TracChangeset
for help on using the changeset viewer.