Changeset 5382 for trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/RealVectorCrossover.cs
- Timestamp:
- 01/27/11 09:44:35 (14 years ago)
- File:
-
- 1 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;
Note: See TracChangeset
for help on using the changeset viewer.