Changeset 4068 for trunk/sources/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/Alba/Crossovers/AlbaPermutationCrossover.cs
- Timestamp:
- 07/22/10 00:44:01 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/Alba/Crossovers/AlbaPermutationCrossover.cs
r3938 r4068 20 20 #endregion 21 21 22 using System;23 using System.Collections.Generic;24 using System.Linq;25 using System.Text;26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;27 22 using HeuristicLab.Core; 28 23 using HeuristicLab.Encodings.PermutationEncoding; 29 using HeuristicLab.Operators;30 24 using HeuristicLab.Parameters; 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 31 26 32 27 namespace HeuristicLab.Problems.VehicleRouting.Encodings.Alba { … … 46 41 int cities = 0; 47 42 48 for (int i = 0; i < ParentsParameter.ActualValue.Length; i++) {49 50 43 for (int i = 0; i < ParentsParameter.ActualValue.Length; i++) { 44 IVRPEncoding solution = ParentsParameter.ActualValue[i]; 45 cities = solution.Cities; 51 46 if (!(solution is AlbaEncoding)) { 52 47 ParentsParameter.ActualValue[i] = AlbaEncoding.ConvertFrom(solution);
Note: See TracChangeset
for help on using the changeset viewer.