- Timestamp:
- 09/20/11 11:12:10 (13 years ago)
- Location:
- trunk/sources
- Files:
-
- 26 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources
- Property svn:ignore
-
old new 13 13 *.vsp 14 14 *.docstates 15 bin 16 HeuristicLab 3.3.6.0.ReSharper.user
-
- Property svn:mergeinfo changed
/branches/GP.Grammar.Editor (added) merged: 6284-6285,6296,6299,6335,6337,6377,6379,6387,6403,6409,6415,6493-6494,6497,6618,6620,6622,6626,6647,6675,6782,6784,6786,6795
- Property svn:ignore
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic
-
Property
svn:ignore
set to
bin
-
Property
svn:ignore
set to
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/Addition.cs
r5809 r6803 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 24 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 25 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;26 26 namespace HeuristicLab.Problems.DataAnalysis.Symbolic { 27 27 [StorableClass] 28 28 [Item("Addition", "Symbol that represents the + operator.")] 29 29 public sealed class Addition : Symbol { 30 private const int minimumArity = 1; 31 private const int maximumArity = byte.MaxValue; 32 33 public override int MinimumArity { 34 get { return minimumArity; } 35 } 36 public override int MaximumArity { 37 get { return maximumArity; } 38 } 39 30 40 [StorableConstructor] 31 41 private Addition(bool deserializing) : base(deserializing) { } -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/And.cs
r5809 r6803 28 28 [Item("And", "Symbol that represents the boolean AND operator.")] 29 29 public sealed class And : Symbol { 30 private const int minimumArity = 1; 31 private const int maximumArity = byte.MaxValue; 32 33 public override int MinimumArity { 34 get { return minimumArity; } 35 } 36 public override int MaximumArity { 37 get { return maximumArity; } 38 } 39 30 40 [StorableConstructor] 31 41 private And(bool deserializing) : base(deserializing) { } -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/Average.cs
r5809 r6803 28 28 [Item("Average", "Symbol that represents the average (arithmetic mean) function.")] 29 29 public sealed class Average : Symbol { 30 private const int minimumArity = 1; 31 private const int maximumArity = byte.MaxValue; 32 33 public override int MinimumArity { 34 get { return minimumArity; } 35 } 36 public override int MaximumArity { 37 get { return maximumArity; } 38 } 39 30 40 [StorableConstructor] 31 41 private Average(bool deserializing) : base(deserializing) { } -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/Constant.cs
r5809 r6803 88 88 } 89 89 90 private const int minimumArity = 0; 91 private const int maximumArity = 0; 92 93 public override int MinimumArity { 94 get { return minimumArity; } 95 } 96 public override int MaximumArity { 97 get { return maximumArity; } 98 } 90 99 #endregion 100 91 101 [StorableConstructor] 92 102 private Constant(bool deserializing) : base(deserializing) { } -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/Cosine.cs
r5809 r6803 28 28 [Item("Cosine", "Symbol that represents the cosine function.")] 29 29 public sealed class Cosine : Symbol { 30 private const int minimumArity = 1; 31 private const int maximumArity = 1; 32 33 public override int MinimumArity { 34 get { return minimumArity; } 35 } 36 public override int MaximumArity { 37 get { return maximumArity; } 38 } 39 30 40 [StorableConstructor] 31 41 private Cosine(bool deserializing) : base(deserializing) { } -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/Derivative.cs
r5809 r6803 28 28 [Item("Derivative", "Represents the derivative over the specified subtree.")] 29 29 public sealed class Derivative : Symbol { 30 private const int minimumArity = 1; 31 private const int maximumArity = 1; 32 33 public override int MinimumArity { 34 get { return minimumArity; } 35 } 36 public override int MaximumArity { 37 get { return maximumArity; } 38 } 39 30 40 [StorableConstructor] 31 41 private Derivative(bool deserializing) : base(deserializing) { } -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/Division.cs
r5809 r6803 28 28 [Item("Division", "Symbol that represents the / operator.")] 29 29 public sealed class Division : Symbol { 30 private const int minimumArity = 1; 31 private const int maximumArity = byte.MaxValue; 32 33 public override int MinimumArity { 34 get { return minimumArity; } 35 } 36 public override int MaximumArity { 37 get { return maximumArity; } 38 } 39 30 40 [StorableConstructor] 31 41 private Division(bool deserializing) : base(deserializing) { } -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/Exponential.cs
r5809 r6803 28 28 [Item("Exponential", "Symbol that represents the exponential function.")] 29 29 public sealed class Exponential : Symbol { 30 private const int minimumArity = 1; 31 private const int maximumArity = 1; 32 33 public override int MinimumArity { 34 get { return minimumArity; } 35 } 36 public override int MaximumArity { 37 get { return maximumArity; } 38 } 39 30 40 [StorableConstructor] 31 41 private Exponential(bool deserializing) : base(deserializing) { } -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/GreaterThan.cs
r5809 r6803 28 28 [Item("GreaterThan", "Symbol that represents a greater than relation.")] 29 29 public sealed class GreaterThan : Symbol { 30 private const int minimumArity = 2; 31 private const int maximumArity = 2; 32 33 public override int MinimumArity { 34 get { return minimumArity; } 35 } 36 public override int MaximumArity { 37 get { return maximumArity; } 38 } 39 30 40 [StorableConstructor] 31 41 private GreaterThan(bool deserializing) : base(deserializing) { } -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/IfThenElse.cs
r5809 r6803 28 28 [Item("IfThenElse", "Symbol that represents a conditional operator.")] 29 29 public sealed class IfThenElse : Symbol { 30 private const int minimumArity = 3; 31 private const int maximumArity = 3; 32 33 public override int MinimumArity { 34 get { return minimumArity; } 35 } 36 public override int MaximumArity { 37 get { return maximumArity; } 38 } 39 30 40 [StorableConstructor] 31 41 private IfThenElse(bool deserializing) : base(deserializing) { } -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/Integral.cs
r5809 r6803 27 27 [Item("Integral", "Represents the integral over the specified subtree.")] 28 28 public sealed class Integral : LaggedSymbol { 29 private const int minimumArity = 1; 30 private const int maximumArity = 1; 31 32 public override int MinimumArity { 33 get { return minimumArity; } 34 } 35 public override int MaximumArity { 36 get { return maximumArity; } 37 } 38 29 39 [StorableConstructor] 30 40 private Integral(bool deserializing) : base(deserializing) { } -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/LessThan.cs
r5809 r6803 28 28 [Item("LessThan", "Symbol that represents a less than relation.")] 29 29 public sealed class LessThan : Symbol { 30 private const int minimumArity = 2; 31 private const int maximumArity = 2; 32 33 public override int MinimumArity { 34 get { return minimumArity; } 35 } 36 public override int MaximumArity { 37 get { return maximumArity; } 38 } 39 30 40 [StorableConstructor] 31 41 private LessThan(bool deserializing) : base(deserializing) { } -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/Logarithm.cs
r5809 r6803 28 28 [Item("Logarithm", "Symbol that represents the logarithm function.")] 29 29 public sealed class Logarithm : Symbol { 30 private const int minimumArity = 1; 31 private const int maximumArity = 1; 32 33 public override int MinimumArity { 34 get { return minimumArity; } 35 } 36 public override int MaximumArity { 37 get { return maximumArity; } 38 } 39 30 40 [StorableConstructor] 31 41 private Logarithm(bool deserializing) : base(deserializing) { } -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/Multiplication.cs
r5809 r6803 28 28 [Item("Multiplication", "Symbol that represents the * operator.")] 29 29 public sealed class Multiplication : Symbol { 30 private const int minimumArity = 1; 31 private const int maximumArity = byte.MaxValue; 32 33 public override int MinimumArity { 34 get { return minimumArity; } 35 } 36 public override int MaximumArity { 37 get { return maximumArity; } 38 } 39 30 40 [StorableConstructor] 31 41 private Multiplication(bool deserializing) : base(deserializing) { } -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/Not.cs
r5809 r6803 28 28 [Item("Not", "Symbol that represents the boolean NOT operator.")] 29 29 public sealed class Not : Symbol { 30 private const int minimumArity = 1; 31 private const int maximumArity = 1; 32 33 public override int MinimumArity { 34 get { return minimumArity; } 35 } 36 public override int MaximumArity { 37 get { return maximumArity; } 38 } 39 30 40 [StorableConstructor] 31 41 private Not(bool deserializing) : base(deserializing) { } -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/Or.cs
r5809 r6803 28 28 [Item("Or", "Symbol that represents the boolean OR operator.")] 29 29 public sealed class Or : Symbol { 30 private const int minimumArity = 1; 31 private const int maximumArity = byte.MaxValue; 32 33 public override int MinimumArity { 34 get { return minimumArity; } 35 } 36 public override int MaximumArity { 37 get { return maximumArity; } 38 } 39 30 40 [StorableConstructor] 31 41 private Or(bool deserializing) : base(deserializing) { } -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/Power.cs
r5809 r6803 28 28 [Item("Power", "Symbol that represents the power function.")] 29 29 public sealed class Power : Symbol { 30 private const int minimumArity = 2; 31 private const int maximumArity = 2; 32 33 public override int MinimumArity { 34 get { return minimumArity; } 35 } 36 public override int MaximumArity { 37 get { return maximumArity; } 38 } 39 30 40 [StorableConstructor] 31 41 private Power(bool deserializing) : base(deserializing) { } -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/Root.cs
r5809 r6803 28 28 [Item("Root", "Symbol that represents the n-th root function.")] 29 29 public sealed class Root : Symbol { 30 private const int minimumArity = 2; 31 private const int maximumArity = 2; 32 33 public override int MinimumArity { 34 get { return minimumArity; } 35 } 36 public override int MaximumArity { 37 get { return maximumArity; } 38 } 39 30 40 [StorableConstructor] 31 41 private Root(bool deserializing) : base(deserializing) { } -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/Sine.cs
r5809 r6803 28 28 [Item("Sine", "Symbol that represents the sine function.")] 29 29 public sealed class Sine : Symbol { 30 private const int minimumArity = 1; 31 private const int maximumArity = 1; 32 33 public override int MinimumArity { 34 get { return minimumArity; } 35 } 36 public override int MaximumArity { 37 get { return maximumArity; } 38 } 39 30 40 [StorableConstructor] 31 41 private Sine(bool deserializing) : base(deserializing) { } -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/Subtraction.cs
r5809 r6803 28 28 [Item("Subtraction", "Symbol that represents the - operator.")] 29 29 public sealed class Subtraction : Symbol { 30 private const int minimumArity = 1; 31 private const int maximumArity = byte.MaxValue; 32 33 public override int MinimumArity { 34 get { return minimumArity; } 35 } 36 public override int MaximumArity { 37 get { return maximumArity; } 38 } 39 30 40 [StorableConstructor] 31 41 private Subtraction(bool deserializing) : base(deserializing) { } -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/Tangent.cs
r5809 r6803 28 28 [Item("Tangent", "Symbol that represents the tangent trigonometric function.")] 29 29 public sealed class Tangent : Symbol { 30 private const int minimumArity = 1; 31 private const int maximumArity = 1; 32 33 public override int MinimumArity { 34 get { return minimumArity; } 35 } 36 public override int MaximumArity { 37 get { return maximumArity; } 38 } 39 30 40 [StorableConstructor] 31 41 private Tangent(bool deserializing) : base(deserializing) { } -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/TimeLag.cs
r5809 r6803 28 28 [Item("TimeLag", "Represents a symblol whose evaluation is shifted.")] 29 29 public sealed class TimeLag : LaggedSymbol { 30 private const int minimumArity = 1; 31 private const int maximumArity = 1; 32 33 public override int MinimumArity { 34 get { return minimumArity; } 35 } 36 public override int MaximumArity { 37 get { return maximumArity; } 38 } 39 30 40 [StorableConstructor] 31 41 private TimeLag(bool deserializing) : base(deserializing) { } -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/Variable.cs
r5809 r6803 100 100 } 101 101 } 102 103 private const int minimumArity = 0; 104 private const int maximumArity = 0; 105 106 public override int MinimumArity { 107 get { return minimumArity; } 108 } 109 public override int MaximumArity { 110 get { return maximumArity; } 111 } 102 112 #endregion 113 103 114 [StorableConstructor] 104 115 protected Variable(bool deserializing) … … 126 137 } 127 138 139 protected override void OnChanged(EventArgs e) { 140 if (@Fixed) { 141 weightManipulatorMu = 1; 142 weightManipulatorSigma = 0; 143 weightMu = 1; 144 weightSigma = 0; 145 multiplicativeWeightManipulatorSigma = 0; 146 } 147 base.OnChanged(e); 148 } 149 128 150 public override ISymbolicExpressionTreeNode CreateTreeNode() { 129 151 return new VariableTreeNode(this); -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/VariableCondition.cs
r5809 r6803 138 138 } 139 139 } 140 141 private const int minimumArity = 2; 142 private const int maximumArity = 2; 143 144 public override int MinimumArity { 145 get { return minimumArity; } 146 } 147 public override int MaximumArity { 148 get { return maximumArity; } 149 } 140 150 #endregion 141 151
Note: See TracChangeset
for help on using the changeset viewer.