- Timestamp:
- 03/05/14 14:48:13 (11 years ago)
- Location:
- branches/DataPreprocessing
- Files:
-
- 7 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 } -
branches/DataPreprocessing/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/IntegerVectorCreator.cs
r9456 r10538 34 34 [Item("IntegerVectorCreator", "A base class for operators creating int-valued vectors.")] 35 35 [StorableClass] 36 public abstract class IntegerVectorCreator : SingleSuccessorOperator, IIntegerVectorCreator, IStochasticOperator {36 public abstract class IntegerVectorCreator : InstrumentedOperator, IIntegerVectorCreator, IStochasticOperator { 37 37 public override bool CanChangeName { 38 38 get { return false; } … … 79 79 #endregion 80 80 81 public sealed override IOperation Apply() {81 public sealed override IOperation InstrumentedApply() { 82 82 IntegerVectorParameter.ActualValue = Create(RandomParameter.ActualValue, LengthParameter.ActualValue, BoundsParameter.ActualValue); 83 return base. Apply();83 return base.InstrumentedApply(); 84 84 } 85 85 -
branches/DataPreprocessing/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/IntegerVectorCrossover.cs
r9456 r10538 58 58 } 59 59 60 public sealed override IOperation Apply() {60 public sealed override IOperation InstrumentedApply() { 61 61 ChildParameter.ActualValue = Cross(RandomParameter.ActualValue, ParentsParameter.ActualValue); 62 return base. Apply();62 return base.InstrumentedApply(); 63 63 } 64 64 -
branches/DataPreprocessing/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/IntegerVectorManipulator.cs
r9456 r10538 52 52 } 53 53 54 public sealed override IOperation Apply() {54 public sealed override IOperation InstrumentedApply() { 55 55 Manipulate(RandomParameter.ActualValue, IntegerVectorParameter.ActualValue); 56 return base. Apply();56 return base.InstrumentedApply(); 57 57 } 58 58 -
branches/DataPreprocessing/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/IntegerVectorOperator.cs
r9456 r10538 29 29 [Item("IntegerVectorOperator", "Base class for integer vectoro operators.")] 30 30 [StorableClass] 31 public abstract class IntegerVectorOperator : SingleSuccessorOperator, IIntegerVectorOperator {31 public abstract class IntegerVectorOperator : InstrumentedOperator, IIntegerVectorOperator { 32 32 33 33 [StorableConstructor]
Note: See TracChangeset
for help on using the changeset viewer.