- Timestamp:
- 07/22/10 00:44:01 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Crossovers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Crossovers/DiscreteCrossover.cs
r3376 r4068 21 21 22 22 using System; 23 using System.Collections.Generic;24 using System.Text;25 using HeuristicLab.Common;26 23 using HeuristicLab.Core; 27 using HeuristicLab.Data;28 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 29 25 … … 47 43 /// <returns>The newly created integer vector, resulting from the crossover operation.</returns> 48 44 public static IntegerVector Apply(IRandom random, IntegerVector parent1, IntegerVector parent2) { 49 if (parent1.Length != parent2.Length)45 if (parent1.Length != parent2.Length) 50 46 throw new ArgumentException("DiscreteCrossover: The parents are of different length."); 51 47 -
trunk/sources/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Crossovers/SinglePointCrossover.cs
r3376 r4068 21 21 22 22 using System; 23 using System.Collections.Generic;24 using System.Text;25 using HeuristicLab.Common;26 23 using HeuristicLab.Core; 27 using HeuristicLab.Data;28 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 29 25
Note: See TracChangeset
for help on using the changeset viewer.