Changeset 10924 for trunk/sources/HeuristicLab.Problems.VehicleRouting
- Timestamp:
- 06/02/14 13:53:08 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Moves/CustomerRelocation/PotvinCustomerRelocationMoveTabuCriterion.cs
r9456 r10924 20 20 #endregion 21 21 22 using System.Linq; 22 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; … … 98 99 PotvinCustomerRelocationMove move = CustomerRelocationMoveParameter.ActualValue; 99 100 100 foreach (IItem tabuMove in tabuList) { 101 PotvinCustomerRelocationMoveAttribute attribute = tabuMove as PotvinCustomerRelocationMoveAttribute; 102 101 foreach (var attribute in tabuList.OfType<PotvinCustomerRelocationMoveAttribute>()) { 103 102 if (!useAspiration || moveQuality >= attribute.MoveQuality) { 104 103 if (attribute.City == move.City && attribute.Tour == move.Tour) {
Note: See TracChangeset
for help on using the changeset viewer.