Changeset 4068 for trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/Crossovers
- Timestamp:
- 07/22/10 00:44:01 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/Crossovers
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/Crossovers/CrossoverPoint.cs
r3997 r4068 20 20 #endregion 21 21 22 using System.Collections.Generic;23 using HeuristicLab.Common;24 using HeuristicLab.Core;25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HeuristicLab.Data;27 using System.Linq;28 using System;29 using HeuristicLab.Parameters;30 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Symbols;31 22 32 23 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Crossovers { -
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/Crossovers/SubtreeCrossover.cs
r3998 r4068 20 20 #endregion 21 21 22 using System; 22 23 using System.Collections.Generic; 23 using HeuristicLab.Common;24 using System.Linq; 24 25 using HeuristicLab.Core; 26 using HeuristicLab.Data; 27 using HeuristicLab.Parameters; 25 28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 using HeuristicLab.Data;27 using System.Linq;28 using System;29 using HeuristicLab.Parameters;30 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Symbols;31 29 32 30 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Crossovers { -
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.