Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
|
---|
6 | using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
|
---|
7 | using HeuristicLab.Common;
|
---|
8 |
|
---|
9 | namespace HeuristicLab.Problems.TradeRules.Symbols
|
---|
10 | {
|
---|
11 | public sealed class MACDTreeNode : SymbolicExpressionTreeNode
|
---|
12 | {
|
---|
13 | public new MACD Symbol {
|
---|
14 | get { return (MACD)base.Symbol;}
|
---|
15 | }
|
---|
16 |
|
---|
17 | [StorableConstructor]
|
---|
18 | private MACDTreeNode(bool deserializing) : base(deserializing) { }
|
---|
19 |
|
---|
20 | private MACDTreeNode(MACDTreeNode original, Cloner cloner)
|
---|
21 | : base(original, cloner) {
|
---|
22 |
|
---|
23 | }
|
---|
24 |
|
---|
25 | public MACDTreeNode(MACD MACDSymbol) : base(MACDSymbol) { }
|
---|
26 |
|
---|
27 | public override bool HasLocalParameters {
|
---|
28 | get {
|
---|
29 | return true;
|
---|
30 | }
|
---|
31 | }
|
---|
32 |
|
---|
33 | public override IDeepCloneable Clone(Cloner cloner) {
|
---|
34 | return new MACDTreeNode(this, cloner);
|
---|
35 | }
|
---|
36 |
|
---|
37 | }
|
---|
38 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.