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