- Timestamp:
- 09/01/10 11:13:46 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.VehicleRouting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.VehicleRouting
-
Property
svn:mergeinfo
set to
/branches/VRP/HeuristicLab.Problems.VehicleRouting merged eligible
-
Property
svn:mergeinfo
set to
-
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.3/VRPOperator.cs
r4186 r4352 113 113 public VRPOperator() 114 114 : base() { 115 Parameters.Add(new ValueLookupParameter<IntValue>("Cities", "The city count."));116 115 Parameters.Add(new LookupParameter<DoubleMatrix>("Coordinates", "The coordinates of the cities.")); 117 116 Parameters.Add(new LookupParameter<DoubleMatrix>("DistanceMatrix", "The matrix which contains the distances between the cities.")); … … 140 139 bool feasible = true; 141 140 142 foreach (Tour tour in solution. Tours) {141 foreach (Tour tour in solution.GetTours(DistanceMatrixParameter)) { 143 142 if (!Feasible(tour)) { 144 143 feasible = false;
Note: See TracChangeset
for help on using the changeset viewer.