Changeset 10291 for trunk/sources/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/BinaryVectorCrossover.cs
- Timestamp:
- 01/07/14 11:14:18 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/BinaryVectorCrossover.cs
r9456 r10291 33 33 [Item("BinaryVectorCrossover", "A base class for operators that perform a crossover of bool-valued vectors.")] 34 34 [StorableClass] 35 public abstract class BinaryVectorCrossover : SingleSuccessorOperator, IBinaryVectorCrossover, IStochasticOperator {35 public abstract class BinaryVectorCrossover : InstrumentedOperator, IBinaryVectorCrossover, IStochasticOperator { 36 36 public override bool CanChangeName { 37 37 get { return false; } … … 59 59 } 60 60 61 public sealed override IOperation Apply() {61 public sealed override IOperation InstrumentedApply() { 62 62 ChildParameter.ActualValue = Cross(RandomParameter.ActualValue, ParentsParameter.ActualValue); 63 return base. Apply();63 return base.InstrumentedApply(); 64 64 } 65 65
Note: See TracChangeset
for help on using the changeset viewer.