Changeset 5177 for branches/ParallelEngine/HeuristicLab.Encodings.RealVectorEncoding/3.3/StrategyParameters
- Timestamp:
- 12/26/10 03:51:30 (14 years ago)
- Location:
- branches/ParallelEngine/HeuristicLab.Encodings.RealVectorEncoding/3.3/StrategyParameters
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ParallelEngine/HeuristicLab.Encodings.RealVectorEncoding/3.3/StrategyParameters/StdDevStrategyVectorCreator.cs
r4722 r5177 63 63 } 64 64 65 public override IOperation Apply( ) {65 public override IOperation Apply(IExecutionContext context) { 66 66 StrategyParameterParameter.ActualValue = UniformRandomRealVectorCreator.Apply(RandomParameter.ActualValue, LengthParameter.ActualValue.Value, BoundsParameter.ActualValue); 67 return base.Apply( );67 return base.Apply(context); 68 68 } 69 69 } -
branches/ParallelEngine/HeuristicLab.Encodings.RealVectorEncoding/3.3/StrategyParameters/StdDevStrategyVectorCrossover.cs
r4722 r5177 59 59 } 60 60 61 public override IOperation Apply( ) {61 public override IOperation Apply(IExecutionContext context) { 62 62 StrategyParameterParameter.ActualValue = AverageCrossover.Apply(RandomParameter.ActualValue, ParentsParameter.ActualValue); 63 return base.Apply( );63 return base.Apply(context); 64 64 } 65 65 } -
branches/ParallelEngine/HeuristicLab.Encodings.RealVectorEncoding/3.3/StrategyParameters/StdDevStrategyVectorManipulator.cs
r4722 r5177 102 102 /// <remarks>Calls <see cref="OperatorBase.Apply"/> of base class <see cref="OperatorBase"/>.</remarks> 103 103 /// <inheritdoc select="returns"/> 104 public override IOperation Apply( ) {104 public override IOperation Apply(IExecutionContext context) { 105 105 RealVector strategyParams = StrategyParameterParameter.ActualValue; 106 106 if (strategyParams != null) { // only apply if there is a strategy vector … … 110 110 Apply(random, strategyParams, tau0, tau, BoundsParameter.ActualValue); 111 111 } 112 return base.Apply( );112 return base.Apply(context); 113 113 } 114 114 }
Note: See TracChangeset
for help on using the changeset viewer.