Changeset 4682 for branches/CloningRefactoring/HeuristicLab.Problems.ExternalEvaluation.GP/3.3/Symbols/Sine.cs
- Timestamp:
- 10/29/10 19:47:39 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CloningRefactoring/HeuristicLab.Problems.ExternalEvaluation.GP/3.3/Symbols/Sine.cs
r4089 r4682 20 20 #endregion 21 21 22 using HeuristicLab.Common; 22 23 using HeuristicLab.Core; 23 24 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Symbols; … … 28 29 [Item("Sine", "Symbol that represents the sine function.")] 29 30 public sealed class Sine : Symbol { 30 31 [StorableConstructor] 32 private Sine(bool deserializing) : base(deserializing) { } 33 private Sine(Sine original, Cloner cloner) 34 : base(original, cloner) { 35 } 36 public override IDeepCloneable Clone(Cloner cloner) { 37 return new Sine(this, cloner); 38 } 31 39 public Sine() 32 40 : base("sin", "Symbol that represents the sine function.") {
Note: See TracChangeset
for help on using the changeset viewer.