Changeset 18067 for branches/3136_Structural_GP/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/SubFunctionTreeNode.cs
- Timestamp:
- 10/14/21 17:59:53 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3136_Structural_GP/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/SubFunctionTreeNode.cs
r18066 r18067 10 10 namespace HeuristicLab.Problems.DataAnalysis.Symbolic { 11 11 [StorableType("05130B5F-0125-4367-A4E9-C42D1085024E")] 12 public class SubFunctionTreeNode : SymbolicExpressionTreeNode { 12 public class SubFunctionTreeNode : SymbolicExpressionTreeNode { //TODO: as TerminalNode? -> but has children in a fully builded tree 13 13 14 14 #region Properties 15 15 public new SubFunctionSymbol Symbol => (SubFunctionSymbol)base.Symbol; 16 16 17 public IEnumerable<string> FunctionArguments { get; set; } = Enumerable.Empty<string>();17 public IEnumerable<string> Arguments { get; set; } = Enumerable.Empty<string>(); 18 18 19 19 public SubFunction SubFunction { get; set; } 20 21 public string Name { get; set; } 20 22 #endregion 21 23 … … 34 36 public override IDeepCloneable Clone(Cloner cloner) => new SubFunctionTreeNode(this, cloner); 35 37 #endregion 38 39 public override string ToString() { 40 if (string.IsNullOrEmpty(Name)) 41 return base.ToString(); 42 return Name; 43 } 44 36 45 } 37 46 }
Note: See TracChangeset
for help on using the changeset viewer.