- Timestamp:
- 01/27/11 09:44:35 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/RealVectorCrossover.cs
r5381 r5382 80 80 public sealed override IOperation Apply() { 81 81 RealVector result = Cross(RandomParameter.ActualValue, ParentsParameter.ActualValue); 82 ChildParameter.ActualValue = result; 82 83 83 84 IRealVectorBoundsChecker checker = BoundsCheckerParameter.Value; 84 85 IOperation successor = base.Apply(); 85 86 if (checker != null) { 87 checker.BoundsParameter.ActualName = BoundsParameter.ActualName; 88 checker.RealVectorParameter.ActualName = ChildParameter.ActualName; 86 89 IOperation checkerOperation = ExecutionContext.CreateChildOperation(checker); 87 90 if (successor == null) return checkerOperation; -
trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/RealVectorManipulator.cs
r5381 r5382 79 79 IOperation successor = base.Apply(); 80 80 if (checker != null) { 81 checker.BoundsParameter.ActualName = BoundsParameter.ActualName; 82 checker.RealVectorParameter.ActualName = RealVectorParameter.ActualName; 81 83 IOperation checkerOperation = ExecutionContext.CreateChildOperation(checker); 82 84 if (successor == null) return checkerOperation;
Note: See TracChangeset
for help on using the changeset viewer.