Changeset 3824 for trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic/Symbols/Variable.cs
- Timestamp:
- 05/17/10 15:55:45 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic/Symbols/Variable.cs
r3541 r3824 40 40 public double WeightNu { 41 41 get { return weightNu; } 42 set { weightNu = value; } 42 set { 43 if (value != weightNu) { 44 weightNu = value; 45 OnChanged(EventArgs.Empty); 46 } 47 } 43 48 } 44 49 [Storable] … … 48 53 set { 49 54 if (weightSigma < 0.0) throw new ArgumentException("Negative sigma is not allowed."); 50 weightSigma = value; 55 if (value != weightSigma) { 56 weightSigma = value; 57 OnChanged(EventArgs.Empty); 58 } 51 59 } 52 60 } … … 55 63 public double WeightManipulatorNu { 56 64 get { return weightManipulatorNu; } 57 set { weightManipulatorNu = value; } 65 set { 66 if (value != weightManipulatorNu) { 67 weightManipulatorNu = value; 68 OnChanged(EventArgs.Empty); 69 } 70 } 58 71 } 59 72 [Storable] … … 63 76 set { 64 77 if (weightManipulatorSigma < 0.0) throw new ArgumentException("Negative sigma is not allowed."); 65 weightManipulatorSigma = value; 78 if (value != weightManipulatorSigma) { 79 weightManipulatorSigma = value; 80 OnChanged(EventArgs.Empty); 81 } 66 82 } 67 83 } … … 74 90 variableNames.Clear(); 75 91 variableNames.AddRange(value); 92 OnChanged(EventArgs.Empty); 76 93 } 77 94 }
Note: See TracChangeset
for help on using the changeset viewer.