Changeset 10507 for stable/HeuristicLab.Encodings.IntegerVectorEncoding
- Timestamp:
- 02/25/14 14:00:47 (11 years ago)
- Location:
- stable
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 10149,10231,10261,10291-10292,10295,10298
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Encodings.IntegerVectorEncoding
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Encodings.IntegerVectorEncoding (added) merged: 10291,10295
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Crossovers/MultiIntegerVectorCrossover.cs
r9456 r10507 99 99 } 100 100 101 public override IOperation Apply() {101 public override IOperation InstrumentedApply() { 102 102 if (Operators.Count == 0) throw new InvalidOperationException(Name + ": Please add at least one integer vector crossover to choose from."); 103 return base. Apply();103 return base.InstrumentedApply(); 104 104 } 105 105 } -
stable/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/IntegerVectorCreator.cs
r9456 r10507 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 -
stable/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/IntegerVectorCrossover.cs
r9456 r10507 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 -
stable/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/IntegerVectorManipulator.cs
r9456 r10507 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 -
stable/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/IntegerVectorOperator.cs
r9456 r10507 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.