Changeset 12951 for branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/Wildcards
- Timestamp:
- 09/15/15 00:10:33 (9 years ago)
- Location:
- branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/Wildcards
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/Wildcards/AnyNode.cs
r12929 r12951 27 27 [StorableClass] 28 28 public class AnyNode : SymbolicExpressionTreeNode { 29 [StorableConstructor] 29 30 protected AnyNode(bool deserializing) : base(deserializing) { } 30 31 31 32 protected AnyNode(AnyNode original, Cloner cloner) : base(original, cloner) { } 32 33 34 public override IDeepCloneable Clone(Cloner cloner) { 35 return new AnyNode(this, cloner); 36 } 37 33 38 public AnyNode(AnyNodeSymbol symbol) : base(symbol) { } 34 39 } -
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/Wildcards/AnyNodeSymbol.cs
r12929 r12951 45 45 public AnyNodeSymbol(int minimumArity, int maximumArity) 46 46 : base("=", "A wildcard symbol that can match any node of the same type (function or leaf node)") { 47 MinimumArity = minimumArity;48 MaximumArity = maximumArity;47 this.MinimumArity = minimumArity; 48 this.MaximumArity = maximumArity; 49 49 } 50 50 -
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/Wildcards/AnySubtree.cs
r12929 r12951 27 27 [StorableClass] 28 28 public class AnySubtree : SymbolicExpressionTreeNode { 29 [StorableConstructor] 29 30 protected AnySubtree(bool deserializing) : base(deserializing) { 30 31 } … … 33 34 } 34 35 36 public override IDeepCloneable Clone(Cloner cloner) { 37 return new AnySubtree(this, cloner); 38 } 39 35 40 public AnySubtree(AnySubtreeSymbol symbol) : base(symbol) { 36 41 }
Note: See TracChangeset
for help on using the changeset viewer.