Changeset 4230 for branches/VRP/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/Alba/Moves/LambdaInterchange/ExhaustiveLambdaInterchangeMoveGenerator.cs
- Timestamp:
- 08/16/10 15:20:29 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/Alba/Moves/LambdaInterchange/ExhaustiveLambdaInterchangeMoveGenerator.cs
r4206 r4230 42 42 List<LambdaInterchangeMove> moves = new List<LambdaInterchangeMove>(); 43 43 44 for (int tour1Index = 0; tour1Index < individual.Tours.Count; tour1Index++) { 45 Tour tour1 = individual.Tours[tour1Index]; 46 for (int tour2Index = tour1Index + 1; tour2Index < individual.Tours.Count; tour2Index++) { 47 Tour tour2 = individual.Tours[tour2Index]; 44 List<Tour> tours = individual.GetTours(); 45 46 for (int tour1Index = 0; tour1Index < tours.Count; tour1Index++) { 47 Tour tour1 = tours[tour1Index]; 48 for (int tour2Index = tour1Index + 1; tour2Index < tours.Count; tour2Index++) { 49 Tour tour2 = tours[tour2Index]; 48 50 49 51 for (int length1 = 0; length1 <= Math.Min(lambda, tour1.Cities.Count); length1++) {
Note: See TracChangeset
for help on using the changeset viewer.