Changeset 10479 for branches/SpectralKernelForGaussianProcesses/HeuristicLab.Encodings.IntegerVectorEncoding
- Timestamp:
- 02/20/14 14:29:01 (11 years ago)
- Location:
- branches/SpectralKernelForGaussianProcesses
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SpectralKernelForGaussianProcesses
- Property svn:mergeinfo changed
-
branches/SpectralKernelForGaussianProcesses/HeuristicLab.Encodings.IntegerVectorEncoding
- Property svn:mergeinfo changed
/branches/HLScript/HeuristicLab.Encodings.IntegerVectorEncoding (added) merged: 10358 /trunk/sources/HeuristicLab.Encodings.IntegerVectorEncoding (added) merged: 10291,10295,10346,10359
- Property svn:mergeinfo changed
-
branches/SpectralKernelForGaussianProcesses/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Crossovers/MultiIntegerVectorCrossover.cs
r9456 r10479 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/SpectralKernelForGaussianProcesses/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/IntegerVectorCreator.cs
r9456 r10479 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/SpectralKernelForGaussianProcesses/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/IntegerVectorCrossover.cs
r9456 r10479 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/SpectralKernelForGaussianProcesses/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/IntegerVectorManipulator.cs
r9456 r10479 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/SpectralKernelForGaussianProcesses/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/IntegerVectorOperator.cs
r9456 r10479 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.