Changeset 3527 for trunk/sources/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Crossovers/MultiIntegerVectorCrossover.cs
- Timestamp:
- 04/26/10 01:38:30 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Crossovers/MultiIntegerVectorCrossover.cs
r3445 r3527 20 20 #endregion 21 21 22 using System; 22 23 using System.Linq; 23 24 using HeuristicLab.Collections; … … 76 77 } 77 78 } 79 80 public override IOperation Apply() { 81 if (Operators.Count == 0) throw new InvalidOperationException(Name + ": Please add at least one integer vector crossover to choose from."); 82 return base.Apply(); 83 } 78 84 } 79 85 }
Note: See TracChangeset
for help on using the changeset viewer.