Changeset 3659 for trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/Crossovers/SymbolicExpressionTreeCrossover.cs
- Timestamp:
- 05/06/10 00:47:32 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/Crossovers/SymbolicExpressionTreeCrossover.cs
r3534 r3659 42 42 private const string FailedCrossoverEventsParameterName = "FailedCrossoverEvents"; 43 43 public ILookupParameter<ItemArray<SymbolicExpressionTree>> ParentsParameter { 44 get { return (S ubScopesLookupParameter<SymbolicExpressionTree>)Parameters[ParentsParameterName]; }44 get { return (ScopeTreeLookupParameter<SymbolicExpressionTree>)Parameters[ParentsParameterName]; } 45 45 } 46 46 public ILookupParameter<SymbolicExpressionTree> ChildParameter { … … 56 56 protected SymbolicExpressionTreeCrossover() 57 57 : base() { 58 Parameters.Add(new S ubScopesLookupParameter<SymbolicExpressionTree>(ParentsParameterName, "The parent symbolic expression trees which should be crossed."));58 Parameters.Add(new ScopeTreeLookupParameter<SymbolicExpressionTree>(ParentsParameterName, "The parent symbolic expression trees which should be crossed.")); 59 59 Parameters.Add(new LookupParameter<SymbolicExpressionTree>(ChildParameterName, "The child symbolic expression tree resulting from the crossover.")); 60 60 Parameters.Add(new ValueParameter<IntValue>(FailedCrossoverEventsParameterName, "The number of failed crossover events (child is an exact copy of a parent)", new IntValue()));
Note: See TracChangeset
for help on using the changeset viewer.