- Timestamp:
- 03/20/13 21:02:10 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/sluengo/HeuristicLab.Problems.TradeRules/Symbols/MACDTreeNode.cs
r9262 r9325 6 6 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 7 7 using HeuristicLab.Common; 8 using HeuristicLab.Core; 8 9 9 10 namespace HeuristicLab.Problems.TradeRules.Symbols … … 11 12 public sealed class MACDTreeNode : SymbolicExpressionTreeNode 12 13 { 13 public new MACD Symbol { 14 get { return (MACD)base.Symbol;} 15 } 14 15 public new MACD Symbol 16 { 17 get { return (MACD)base.Symbol; } 18 } 19 20 [Storable] 21 private double idMACD; 22 public double ID 23 { 24 get {return idMACD; } 25 set { idMACD = value; } 26 } 16 27 17 28 [StorableConstructor] … … 20 31 private MACDTreeNode(MACDTreeNode original, Cloner cloner) 21 32 : base(original, cloner) { 22 33 idMACD = original.idMACD; 23 34 } 24 35 … … 31 42 } 32 43 44 public override void ResetLocalParameters(IRandom random) 45 { 46 base.ResetLocalParameters(random); 47 48 idMACD = random.NextDouble(); 49 } 50 33 51 public override IDeepCloneable Clone(Cloner cloner) { 34 52 return new MACDTreeNode(this, cloner);
Note: See TracChangeset
for help on using the changeset viewer.