Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/05/14 20:47:50 (10 years ago)
Author:
bburlacu
Message:

#1772: Added SymbolicDataAnalysisGenealogyView, updated generic analyzer and operators.

File:
1 edited

Legend:

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

    r10278 r10285  
    3333    where TContent : class,IItem {
    3434
    35     private string childParameterName;
    36     public string ChildParameterName {
    37       get { return childParameterName; }
    38       set {
    39         if (childParameterName != null && Parameters.ContainsKey(childParameterName)) Parameters.Remove(childParameterName);
    40         childParameterName = value;
    41         if (!Parameters.ContainsKey(childParameterName)) Parameters.Add(new LookupParameter<TContent>(childParameterName));
    42       }
    43     }
     35    private const string ChildParameterName = "Child";
     36    public ILookupParameter<TContent> ChildParameter;
    4437
    45     #region parameter properties
    46     public ILookupParameter<TContent> ChildParameter {
    47       get { return (ILookupParameter<TContent>)Parameters[ChildParameterName]; }
    48     }
    49     #endregion
    5038    protected AfterManipulatorOperator(AfterManipulatorOperator<TGraph, TVertex, TContent> original, Cloner cloner)
    5139      : base(original, cloner) {
     
    5543    }
    5644
    57     public AfterManipulatorOperator() { }
     45    public AfterManipulatorOperator() {
     46      ChildParameter = new LookupParameter<TContent>(ChildParameterName);
     47      Parameters.Add(ChildParameter);
     48    }
    5849
    5950    public override IOperation Apply() {
Note: See TracChangeset for help on using the changeset viewer.