Changeset 4179 for trunk/sources/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/Potvin/Manipulators/TwoLevelExchangeManipulator.cs
- Timestamp:
- 08/09/10 18:08:14 (14 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/Potvin/Manipulators/TwoLevelExchangeManipulator.cs
r4177 r4179 28 28 29 29 namespace HeuristicLab.Problems.VehicleRouting.Encodings.Potvin { 30 [Item(" Potvin2MMainpulator", "The two-level exchangeoperator which manipulates a Potvin VRP representation. It is implemented as described in Potvin, J.-Y. and Bengio, S. (1996). The Vehicle Routing Problem with Time Windows - Part II: Genetic Search. INFORMS Journal of Computing, 8:165–172.")]30 [Item("TwoLevelExchangeOperator", "The 2M operator which manipulates a Potvin VRP representation. It is implemented as described in Potvin, J.-Y. and Bengio, S. (1996). The Vehicle Routing Problem with Time Windows - Part II: Genetic Search. INFORMS Journal of Computing, 8:165–172.")] 31 31 [StorableClass] 32 public sealed class Potvin2MMainpulator : PotvinManipulator { 32 public sealed class TwoLevelExchangeOperator : PotvinManipulator { 33 [StorableConstructor] 34 private TwoLevelExchangeOperator(bool deserializing) : base(deserializing) { } 35 36 public TwoLevelExchangeOperator(): base() { } 37 33 38 protected override void Manipulate(IRandom random, PotvinEncoding individual) { 34 39 int selectedIndex = SelectRandomTourBiasedByLength(random, individual);
Note: See TracChangeset
for help on using the changeset viewer.