Changeset 10462 for branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/Operators/AfterCrossoverOperator.cs
- Timestamp:
- 02/19/14 08:25:37 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/Operators/AfterCrossoverOperator.cs
r10347 r10462 29 29 [Item("AfterCrossoverOperator", "A generic operator that can record genealogical relationships between crossover parents and children.")] 30 30 public class AfterCrossoverOperator<T> : EvolutionTrackingOperator, ICrossoverOperator<T> where T : class,IItem { 31 private const string defaultParentsParameterName = "Parents";32 private const string defaultChildParameterName = "Child";31 private const string DefaultParentsParameterName = "Parents"; 32 private const string DefaultChildParameterName = "Child"; 33 33 public IScopeTreeLookupParameter<T> ParentsParameter { get; set; } 34 34 public ILookupParameter<T> ChildParameter { get; set; } … … 42 42 43 43 public AfterCrossoverOperator() { 44 ParentsParameter = new ScopeTreeLookupParameter<T>( defaultParentsParameterName);45 ChildParameter = new LookupParameter<T>( defaultChildParameterName);44 ParentsParameter = new ScopeTreeLookupParameter<T>(DefaultParentsParameterName); 45 ChildParameter = new LookupParameter<T>(DefaultChildParameterName); 46 46 Parameters.Add(ParentsParameter); 47 47 Parameters.Add(ChildParameter);
Note: See TracChangeset
for help on using the changeset viewer.