Changeset 4068 for trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/AverageCrossover.cs
- Timestamp:
- 07/22/10 00:44:01 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/AverageCrossover.cs
r3376 r4068 21 21 22 22 using System; 23 using HeuristicLab.Common;24 23 using HeuristicLab.Core; 25 using HeuristicLab.Data;26 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 27 25 … … 58 56 result[i] = avg / (double)parentsCount; 59 57 } 60 } catch (IndexOutOfRangeException) { 58 } 59 catch (IndexOutOfRangeException) { 61 60 throw new ArgumentException("AverageCrossover: The parents' vectors are of different length.", "parents"); 62 61 }
Note: See TracChangeset
for help on using the changeset viewer.