Changeset 17698 for branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Zhu/Crossovers/ZhuHeuristicCrossover2.cs
- Timestamp:
- 07/24/20 00:58:42 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Zhu/Crossovers/ZhuHeuristicCrossover2.cs
r17226 r17698 44 44 } 45 45 46 protected override ZhuEncod ing Crossover(IRandom random, ZhuEncoding parent1, ZhuEncodingparent2) {46 protected override ZhuEncodedSolution Crossover(IRandom random, ZhuEncodedSolution parent1, ZhuEncodedSolution parent2) { 47 47 List<int> p1 = new List<int>(parent1); 48 48 List<int> p2 = new List<int>(parent2); 49 49 50 ZhuEncod ing child = parent2.Clone() as ZhuEncoding;50 ZhuEncodedSolution child = parent2.Clone() as ZhuEncodedSolution; 51 51 52 52 if (parent1.Length != parent2.Length)
Note: See TracChangeset
for help on using the changeset viewer.