- Timestamp:
- 04/22/10 08:53:04 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic/Symbols
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic/Symbols/Constant.cs
r3462 r3485 33 33 public sealed class Constant : Symbol { 34 34 #region Propeties 35 [Storable] 35 36 private double minValue; 36 37 public double MinValue { … … 38 39 set { minValue = value; } 39 40 } 41 [Storable] 40 42 private double maxValue; 41 43 public double MaxValue { … … 51 53 return new ConstantTreeNode(this); 52 54 } 55 56 public override IDeepCloneable Clone(Cloner cloner) { 57 Constant clone = (Constant) base.Clone(cloner); 58 clone.minValue = minValue; 59 clone.maxValue = maxValue; 60 return clone; 61 } 53 62 } 54 63 } -
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic/Symbols/ConstantTreeNode.cs
r3465 r3485 41 41 set { constantValue = value; } 42 42 } 43 44 private ConstantTreeNode() : base() { } 45 43 46 // copy constructor 44 47 private ConstantTreeNode(ConstantTreeNode original) -
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic/Symbols/Variable.cs
r3462 r3485 36 36 public sealed class Variable : Symbol { 37 37 #region Properties 38 [Storable] 38 39 private double weightNu; 39 [Storable]40 40 public double WeightNu { 41 41 get { return weightNu; } 42 42 set { weightNu = value; } 43 43 } 44 [Storable] 44 45 private double weightSigma; 45 [Storable]46 46 public double WeightSigma { 47 47 get { return weightSigma; } … … 51 51 } 52 52 } 53 [Storable] 53 54 private List<string> variableNames; 54 [Storable]55 55 public IEnumerable<string> VariableNames { 56 56 get { return variableNames; } … … 72 72 return new VariableTreeNode(this); 73 73 } 74 75 public override IDeepCloneable Clone(Cloner cloner) { 76 Variable clone = (Variable)base.Clone(cloner); 77 clone.weightNu = weightNu; 78 clone.weightSigma = weightSigma; 79 clone.variableNames = new List<string>(variableNames); 80 return clone; 81 } 74 82 } 75 83 } -
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic/Symbols/VariableTreeNode.cs
r3465 r3485 34 34 get { return (Variable)base.Symbol; } 35 35 } 36 [Storable] 36 37 private double weight; 37 [Storable]38 38 public double Weight { 39 39 get { return weight; } 40 40 set { weight = value; } 41 41 } 42 [Storable] 42 43 private string variableName; 43 [Storable]44 44 public string VariableName { 45 45 get { return variableName; } 46 46 set { variableName = value; } 47 47 } 48 49 50 private VariableTreeNode() { } 48 51 49 52 // copy constructor
Note: See TracChangeset
for help on using the changeset viewer.