Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/19/14 08:25:37 (10 years ago)
Author:
bburlacu
Message:

#1772: Fixed bug in configuration of the tracking operators, fixed null reference exception when trying to access fragments in SymbolicDataAnalysisGenealogyGraphView

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/Operators/AfterCrossoverOperator.cs

    r10347 r10462  
    2929  [Item("AfterCrossoverOperator", "A generic operator that can record genealogical relationships between crossover parents and children.")]
    3030  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";
    3333    public IScopeTreeLookupParameter<T> ParentsParameter { get; set; }
    3434    public ILookupParameter<T> ChildParameter { get; set; }
     
    4242
    4343    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);
    4646      Parameters.Add(ParentsParameter);
    4747      Parameters.Add(ChildParameter);
Note: See TracChangeset for help on using the changeset viewer.