Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/08/21 16:28:53 (3 years ago)
Author:
dpiringe
Message:

#3136

  • modified InfixExpressionParser to fully support SubFunctionSymbol
    • created a SubFunctionTreeNode to store the function arguments
  • modified StructureTemplateView to regenerate the content state
  • first implementation for the main tree build up logic
File:
1 edited

Legend:

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

    r18062 r18065  
    1 using HEAL.Attic;
     1using System.Collections.Generic;
     2using HEAL.Attic;
    23using HeuristicLab.Common;
    34using HeuristicLab.Core;
     
    910  public class SubFunctionSymbol : Symbol {
    1011    public override int MinimumArity => 1;
    11     public override int MaximumArity => 1;
     12    public override int MaximumArity => byte.MaxValue;
    1213
    1314    public SubFunctionSymbol() : base("SubFunctionSymbol", "Symbol that represents a sub function.") { }
     
    2021    public override IDeepCloneable Clone(Cloner cloner) =>
    2122      new SubFunctionSymbol(this, cloner);
     23
     24    public override ISymbolicExpressionTreeNode CreateTreeNode() => new SubFunctionTreeNode(this);
    2225  }
    2326}
Note: See TracChangeset for help on using the changeset viewer.