Changeset 5177 for branches/ParallelEngine/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/Crossovers/SymbolicExpressionTreeCrossover.cs
- Timestamp:
- 12/26/10 03:51:30 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ParallelEngine/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/Crossovers/SymbolicExpressionTreeCrossover.cs
r4722 r5177 61 61 } 62 62 63 public sealed override IOperation Apply( ) {63 public sealed override IOperation Apply(IExecutionContext context) { 64 64 if (ParentsParameter.ActualValue.Length != 2) 65 65 throw new ArgumentException("Number of parents must be exactly two for symbolic expression tree crossover operators."); … … 77 77 78 78 ChildParameter.ActualValue = result; 79 return base.Apply( );79 return base.Apply(context); 80 80 } 81 81
Note: See TracChangeset
for help on using the changeset viewer.