- Timestamp:
- 04/26/10 01:38:30 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Crossovers/MultiBinaryVectorCrossover.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 binary vector crossover to choose from."); 82 return base.Apply(); 83 } 78 84 } 79 85 }
Note: See TracChangeset
for help on using the changeset viewer.