- Timestamp:
- 01/07/14 11:14:18 (11 years ago)
- Location:
- trunk/sources/HeuristicLab.Encodings.BinaryVectorEncoding/3.3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/BinaryVectorCreator.cs
r9456 r10291 34 34 [Item("BinaryVectorCreator", "A base class for operators creating bool-valued vectors.")] 35 35 [StorableClass] 36 public abstract class BinaryVectorCreator : SingleSuccessorOperator, IBinaryVectorCreator, IStochasticOperator {36 public abstract class BinaryVectorCreator : InstrumentedOperator, IBinaryVectorCreator, IStochasticOperator { 37 37 public override bool CanChangeName { 38 38 get { return false; } … … 58 58 } 59 59 60 public sealed override IOperation Apply() {60 public sealed override IOperation InstrumentedApply() { 61 61 BinaryVectorParameter.ActualValue = Create(RandomParameter.ActualValue, LengthParameter.ActualValue); 62 return base. Apply();62 return base.InstrumentedApply(); 63 63 } 64 64 -
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 -
trunk/sources/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/BinaryVectorManipulator.cs
r9456 r10291 33 33 [Item("BinaryVectorManipulator", "A base class for operators that manipulate bool-valued vectors.")] 34 34 [StorableClass] 35 public abstract class BinaryVectorManipulator : SingleSuccessorOperator, IBinaryVectorManipulator, IStochasticOperator {35 public abstract class BinaryVectorManipulator : InstrumentedOperator, IBinaryVectorManipulator, IStochasticOperator { 36 36 public override bool CanChangeName { 37 37 get { return false; } … … 53 53 } 54 54 55 public sealed override IOperation Apply() {55 public sealed override IOperation InstrumentedApply() { 56 56 Manipulate(RandomParameter.ActualValue, BinaryVectorParameter.ActualValue); 57 return base. Apply();57 return base.InstrumentedApply(); 58 58 } 59 59
Note: See TracChangeset
for help on using the changeset viewer.