Changeset 18158
- Timestamp:
- 12/19/21 08:46:31 (3 years ago)
- Location:
- branches/3136_Structural_GP
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3136_Structural_GP/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/Plugin.cs.frame
r17931 r18158 41 41 [PluginDependency("HeuristicLab.Problems.DataAnalysis", "3.4")] 42 42 [PluginDependency("HeuristicLab.Problems.DataAnalysis.Symbolic", "3.4")] 43 [PluginDependency("HeuristicLab.Problems.Instances", "3.3")] 44 [PluginDependency("HeuristicLab.Problems.Instances.DataAnalysis", "3.3")] 43 45 public class HeuristicLabProblemsDataAnalysisSymbolicRegressionPlugin : PluginBase { 44 46 } -
branches/3136_Structural_GP/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/SubFunctionSymbol.cs
r18139 r18158 1 using System.Collections.Generic; 2 using HEAL.Attic; 1 using HEAL.Attic; 3 2 using HeuristicLab.Common; 4 3 using HeuristicLab.Core; … … 8 7 [StorableType("C6C2FBEE-8F4B-4FF2-80F5-D566BE55ED69")] 9 8 [Item("SubFunction", "Symbol that represents a sub function.")] 10 public class SubFunctionSymbol : Symbol {9 public sealed class SubFunctionSymbol : Symbol { 11 10 public override int MinimumArity => 0; 12 11 public override int MaximumArity => 1; … … 17 16 18 17 [StorableConstructor] 19 p ublicSubFunctionSymbol(StorableConstructorFlag _) : base(_) { }18 private SubFunctionSymbol(StorableConstructorFlag _) : base(_) { } 20 19 21 20 public override IDeepCloneable Clone(Cloner cloner) => -
branches/3136_Structural_GP/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/SubFunctionTreeNode.cs
r18069 r18158 1 using System; 2 using System.Collections.Generic; 1 using System.Collections.Generic; 3 2 using System.Linq; 4 using System.Text;5 using System.Threading.Tasks;6 3 using HEAL.Attic; 7 4 using HeuristicLab.Common; … … 10 7 namespace HeuristicLab.Problems.DataAnalysis.Symbolic { 11 8 [StorableType("05130B5F-0125-4367-A4E9-C42D1085024E")] 12 public class SubFunctionTreeNode : SymbolicExpressionTreeNode {9 public sealed class SubFunctionTreeNode : SymbolicExpressionTreeNode { 13 10 14 11 #region Properties … … 26 23 27 24 [StorableConstructor] 28 pr otectedSubFunctionTreeNode(StorableConstructorFlag _) : base(_) { }25 private SubFunctionTreeNode(StorableConstructorFlag _) : base(_) { } 29 26 30 pr otectedSubFunctionTreeNode(SubFunctionTreeNode original, Cloner cloner) : base(original, cloner) {27 private SubFunctionTreeNode(SubFunctionTreeNode original, Cloner cloner) : base(original, cloner) { 31 28 Arguments = original.Arguments; 32 29 Name = (string)original.Name.Clone(); … … 43 40 return $"{Name}({string.Join(",", Arguments)})"; 44 41 } 45 46 42 } 47 43 }
Note: See TracChangeset
for help on using the changeset viewer.