Rev | Line | |
---|
[9262] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 | using System.Linq;
|
---|
| 4 | using System.Text;
|
---|
| 5 | using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
|
---|
| 6 | using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
|
---|
| 7 | using HeuristicLab.Common;
|
---|
| 8 |
|
---|
| 9 | namespace HeuristicLab.Problems.TradeRules
|
---|
| 10 | {
|
---|
| 11 | class RSI: Symbol
|
---|
| 12 | {
|
---|
[9499] | 13 | private const int minimumArity = 3;
|
---|
| 14 | private const int maximumArity = 3;
|
---|
[9262] | 15 |
|
---|
| 16 | public override int MinimumArity
|
---|
| 17 | {
|
---|
| 18 | get { return minimumArity; }
|
---|
| 19 | }
|
---|
| 20 | public override int MaximumArity
|
---|
| 21 | {
|
---|
| 22 | get { return maximumArity; }
|
---|
| 23 | }
|
---|
| 24 |
|
---|
| 25 | [StorableConstructor]
|
---|
| 26 | private RSI(bool deserializing) : base(deserializing) { }
|
---|
| 27 | private RSI(RSI original, Cloner cloner) : base(original, cloner) { }
|
---|
| 28 | public override IDeepCloneable Clone(Cloner cloner)
|
---|
| 29 | {
|
---|
| 30 | return new RSI(this, cloner);
|
---|
| 31 | }
|
---|
| 32 | public RSI() : base("RSI", "Symbol that represents the RSI indicator.") { }
|
---|
| 33 |
|
---|
| 34 | }
|
---|
| 35 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.