- Timestamp:
- 08/05/09 11:17:08 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Symbols
- Files:
-
- 23 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Symbols/Addition.cs
r2222 r2235 38 38 MaxSubTrees = 3; 39 39 } 40 41 public override HeuristicLab.GP.Interfaces.IFunctionTree GetTreeNode() { 42 return new FunctionTreeBase(this); 43 } 40 44 } 41 45 } -
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Symbols/And.cs
r2222 r2235 35 35 MinSubTrees = 2; MaxSubTrees = 3; 36 36 } 37 38 public override HeuristicLab.GP.Interfaces.IFunctionTree GetTreeNode() { 39 return new FunctionTreeBase(this); 40 } 37 41 } 38 42 } -
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Symbols/Average.cs
r2222 r2235 33 33 MinSubTrees = 2; MaxSubTrees = 3; 34 34 } 35 36 public override HeuristicLab.GP.Interfaces.IFunctionTree GetTreeNode() { 37 return new FunctionTreeBase(this); 38 } 35 39 } 36 40 } -
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Symbols/ConstantFunctionTree.cs
r2222 r2235 30 30 public double Value { get; set; } 31 31 32 public ConstantFunctionTree(Constant constant) : base(constant){ 32 public ConstantFunctionTree(Constant constant) 33 : base(constant) { 33 34 } 34 35 35 protected ConstantFunctionTree(ConstantFunctionTree original) : base(original){ 36 protected ConstantFunctionTree(ConstantFunctionTree original) 37 : base(original) { 36 38 Value = original.Value; 37 39 } … … 57 59 } 58 60 61 public override string ToString() { 62 return SymbolicExpressionExporter.GetName(this); 63 } 64 65 #region serialization 59 66 public override object Clone() { 60 67 return new ConstantFunctionTree(this); … … 73 80 Value = XmlConvert.ToDouble(node.Attributes["Value"].Value); 74 81 } 82 #endregion 75 83 76 84 private IVariable CreateValueVariable() { -
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Symbols/Cosinus.cs
r2222 r2235 30 30 : base() { 31 31 } 32 33 public override HeuristicLab.GP.Interfaces.IFunctionTree GetTreeNode() { 34 return new FunctionTreeBase(this); 35 } 32 36 } 33 37 } -
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Symbols/Division.cs
r2222 r2235 37 37 38 38 public Division() : base() { } 39 40 public override HeuristicLab.GP.Interfaces.IFunctionTree GetTreeNode() { 41 return new FunctionTreeBase(this); 42 } 39 43 } 40 44 } -
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Symbols/Equal.cs
r2222 r2235 30 30 31 31 public Equal() : base() { } 32 33 public override HeuristicLab.GP.Interfaces.IFunctionTree GetTreeNode() { 34 return new FunctionTreeBase(this); 35 } 32 36 } 33 37 } -
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Symbols/Exponential.cs
r2222 r2235 28 28 29 29 public Exponential() : base() { } 30 31 public override HeuristicLab.GP.Interfaces.IFunctionTree GetTreeNode() { 32 return new FunctionTreeBase(this); 33 } 30 34 } 31 35 } -
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Symbols/GreaterThan.cs
r2222 r2235 31 31 public GreaterThan() : base() { } 32 32 33 public override HeuristicLab.GP.Interfaces.IFunctionTree GetTreeNode() { 34 return new FunctionTreeBase(this); 35 } 33 36 } 34 37 } -
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Symbols/IfThenElse.cs
r2222 r2235 34 34 MinSubTrees = 3; MaxSubTrees = 3; 35 35 } 36 37 public override HeuristicLab.GP.Interfaces.IFunctionTree GetTreeNode() { 38 return new FunctionTreeBase(this); 39 } 36 40 } 37 41 } -
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Symbols/LessThan.cs
r2222 r2235 32 32 : base() { 33 33 } 34 35 public override HeuristicLab.GP.Interfaces.IFunctionTree GetTreeNode() { 36 return new FunctionTreeBase(this); 37 } 34 38 } 35 39 } -
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Symbols/Logarithm.cs
r2222 r2235 30 30 : base() { 31 31 } 32 33 public override HeuristicLab.GP.Interfaces.IFunctionTree GetTreeNode() { 34 return new FunctionTreeBase(this); 35 } 32 36 } 33 37 } -
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Symbols/Multiplication.cs
r2222 r2235 37 37 MinSubTrees = 2; MaxSubTrees = 3; 38 38 } 39 40 public override HeuristicLab.GP.Interfaces.IFunctionTree GetTreeNode() { 41 return new FunctionTreeBase(this); 42 } 39 43 } 40 44 } -
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Symbols/Not.cs
r2222 r2235 31 31 : base() { 32 32 } 33 34 public override HeuristicLab.GP.Interfaces.IFunctionTree GetTreeNode() { 35 return new FunctionTreeBase(this); 36 } 33 37 } 34 38 } -
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Symbols/Or.cs
r2222 r2235 33 33 MinSubTrees = 2; MaxSubTrees = 3; 34 34 } 35 public override HeuristicLab.GP.Interfaces.IFunctionTree GetTreeNode() { 36 return new FunctionTreeBase(this); 37 } 35 38 } 36 39 } -
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Symbols/Power.cs
r2222 r2235 30 30 : base() { 31 31 } 32 33 public override HeuristicLab.GP.Interfaces.IFunctionTree GetTreeNode() { 34 return new FunctionTreeBase(this); 35 } 32 36 } 33 37 } -
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Symbols/Signum.cs
r2222 r2235 30 30 : base() { 31 31 } 32 33 public override HeuristicLab.GP.Interfaces.IFunctionTree GetTreeNode() { 34 return new FunctionTreeBase(this); 35 } 32 36 } 33 37 } -
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Symbols/Sinus.cs
r2222 r2235 30 30 : base() { 31 31 } 32 33 public override HeuristicLab.GP.Interfaces.IFunctionTree GetTreeNode() { 34 return new FunctionTreeBase(this); 35 } 32 36 } 33 37 } -
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Symbols/Sqrt.cs
r2222 r2235 30 30 : base() { 31 31 } 32 33 public override HeuristicLab.GP.Interfaces.IFunctionTree GetTreeNode() { 34 return new FunctionTreeBase(this); 35 } 32 36 } 33 37 } -
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Symbols/Subtraction.cs
r2222 r2235 35 35 : base() { 36 36 } 37 38 public override HeuristicLab.GP.Interfaces.IFunctionTree GetTreeNode() { 39 return new FunctionTreeBase(this); 40 } 37 41 } 38 42 } -
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Symbols/Tangens.cs
r2222 r2235 30 30 : base() { 31 31 } 32 33 public override HeuristicLab.GP.Interfaces.IFunctionTree GetTreeNode() { 34 return new FunctionTreeBase(this); 35 } 32 36 } 33 37 } -
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Symbols/VariableFunctionTree.cs
r2222 r2235 67 67 } 68 68 69 public override string ToString() { 70 return SymbolicExpressionExporter.GetName(this); 71 } 72 73 #region serialization 69 74 public override object Clone() { 70 75 return new VariableFunctionTree(this); … … 91 96 VariableName = node.Attributes["Variable"].Value; 92 97 } 98 #endregion 93 99 94 100 private IVariable CreateSampleOffsetVariable() { -
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Symbols/Xor.cs
r2222 r2235 32 32 : base() { 33 33 } 34 35 public override HeuristicLab.GP.Interfaces.IFunctionTree GetTreeNode() { 36 return new FunctionTreeBase(this); 37 } 34 38 } 35 39 }
Note: See TracChangeset
for help on using the changeset viewer.