Changeset 4068 for trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/Crossovers/SymbolicExpressionTreeCrossover.cs
- Timestamp:
- 07/22/10 00:44:01 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/Crossovers/SymbolicExpressionTreeCrossover.cs
r3659 r4068 20 20 #endregion 21 21 22 using HeuristicLab.Common;22 using System; 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Data; 25 using HeuristicLab.Operators; 26 using HeuristicLab.Optimization; 25 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Interfaces; 27 26 using HeuristicLab.Parameters; 28 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 29 using System;30 using System.Diagnostics;31 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Interfaces;32 28 33 29 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Crossovers { … … 80 76 SymbolicExpressionTree result = Cross(random, parent0, parent1, 81 77 MaxTreeSizeParameter.ActualValue, MaxTreeHeightParameter.ActualValue, out success); 82 78 83 79 if (!success) FailedCrossoverEvents.Value++; 84 80 … … 87 83 } 88 84 89 protected abstract SymbolicExpressionTree Cross(IRandom random, 85 protected abstract SymbolicExpressionTree Cross(IRandom random, 90 86 SymbolicExpressionTree parent0, SymbolicExpressionTree parent1, 91 87 IntValue maxTreeSize, IntValue maxTreeHeight, out bool success);
Note: See TracChangeset
for help on using the changeset viewer.