Changeset 10483 for branches/LogResidualEvaluator/HeuristicLab.Encodings.PermutationEncoding/3.3/Crossovers/MultiPermutationCrossover.cs
- Timestamp:
- 02/20/14 14:56:39 (11 years ago)
- Location:
- branches/LogResidualEvaluator
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/LogResidualEvaluator
- Property svn:mergeinfo changed
-
branches/LogResidualEvaluator/HeuristicLab.Encodings.PermutationEncoding
- Property svn:mergeinfo changed
-
branches/LogResidualEvaluator/HeuristicLab.Encodings.PermutationEncoding/3.3/Crossovers/MultiPermutationCrossover.cs
r9456 r10483 64 64 Operators.Add((IPermutationCrossover)Activator.CreateInstance(type), true); 65 65 } 66 67 SelectedOperatorParameter.ActualName = "SelectedCrossoverOperator"; 66 68 } 67 69 … … 90 92 } 91 93 92 public override IOperation Apply() {94 public override IOperation InstrumentedApply() { 93 95 if (Operators.Count == 0) throw new InvalidOperationException(Name + ": Please add at least one permutation crossover to choose from."); 94 return base. Apply();96 return base.InstrumentedApply(); 95 97 } 96 98 }
Note: See TracChangeset
for help on using the changeset viewer.