Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/28/21 14:31:33 (3 years ago)
Author:
chaider
Message:

#3136

  • Added info text in StructureTemplateView
  • Fixed cloning constructors
  • Added check if linear scaling nodes are set
Location:
branches/3136_Structural_GP/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/StructureTemplate
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3136_Structural_GP/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/StructureTemplate/StructureTemplate.cs

    r18071 r18072  
    3838
    3939    [Storable]
    40     public IReadOnlyDictionary<string, SubFunction> SubFunctions { get; private set; }
     40    public IReadOnlyDictionary<string, SubFunction> SubFunctions { get; private set; } = new Dictionary<string, SubFunction>();
    4141
    4242    [Storable]
     
    6666    protected StructureTemplate(StorableConstructorFlag _) : base(_) { }
    6767
    68     protected StructureTemplate(StructureTemplate original, Cloner cloner) { }
     68    protected StructureTemplate(StructureTemplate original, Cloner cloner) : base(original, cloner) { }
    6969    #endregion
    7070
     
    7373      new StructureTemplate(this, cloner);
    7474    #endregion
     75
     76   
    7577
    7678    private Dictionary<string, SubFunction> GetSubFunctions() {
  • branches/3136_Structural_GP/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/StructureTemplate/SubFunction.cs

    r18071 r18072  
    6363    private void OnParameterValueChanged(object sender, EventArgs e) => Changed?.Invoke(this, EventArgs.Empty);
    6464
    65     protected SubFunction(SubFunction original, Cloner cloner) {
     65    protected SubFunction(SubFunction original, Cloner cloner) : base(original, cloner) {
    6666      Arguments = original.Arguments;
    6767    }
Note: See TracChangeset for help on using the changeset viewer.