Changeset 10538 for branches/DataPreprocessing/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Crossovers
- Timestamp:
- 03/05/14 14:48:13 (11 years ago)
- Location:
- branches/DataPreprocessing
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing
- Property svn:mergeinfo changed
-
branches/DataPreprocessing/HeuristicLab.Encodings.IntegerVectorEncoding
- Property svn:mergeinfo changed
-
branches/DataPreprocessing/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Crossovers/MultiIntegerVectorCrossover.cs
r9456 r10538 70 70 Operators.Add((IIntegerVectorCrossover)Activator.CreateInstance(type), true); 71 71 } 72 73 SelectedOperatorParameter.ActualName = "SelectedCrossoverOperator"; 72 74 } 73 75 … … 99 101 } 100 102 101 public override IOperation Apply() {103 public override IOperation InstrumentedApply() { 102 104 if (Operators.Count == 0) throw new InvalidOperationException(Name + ": Please add at least one integer vector crossover to choose from."); 103 return base. Apply();105 return base.InstrumentedApply(); 104 106 } 105 107 }
Note: See TracChangeset
for help on using the changeset viewer.