- Timestamp:
- 03/30/12 10:17:16 (13 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/VariableCondition.cs
r6803 r7671 29 29 namespace HeuristicLab.Problems.DataAnalysis.Symbolic { 30 30 [StorableClass] 31 [Item("Variable Condition", "Represents a condition that tests a given variable .")]31 [Item("Variable Condition", "Represents a condition that tests a given variable against a specified threshold.")] 32 32 public sealed class VariableCondition : Symbol { 33 33 #region properties … … 182 182 variableNames = new List<string>(); 183 183 184 slopeInitializerMu = 1.0;185 slopeInitializerSigma = 0.0 5;184 slopeInitializerMu = 0.0; 185 slopeInitializerSigma = 0.0; 186 186 slopeManipulatorMu = 0.0; 187 slopeManipulatorSigma = 0.0 5;187 slopeManipulatorSigma = 0.0; 188 188 } 189 189 -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/VariableConditionTreeNode.cs
r5809 r7671 88 88 89 89 public override string ToString() { 90 return variableName + " > " + threshold.ToString("E4") + Environment.NewLine + 91 "slope: " + slope.ToString("E4"); 90 if (slope.IsAlmost(0.0)) 91 return variableName + " > " + threshold.ToString("E4") + Environment.NewLine + 92 "slope: " + slope.ToString("E4"); 93 else 94 return variableName + " > " + threshold.ToString("E4"); 92 95 } 93 96 }
Note: See TracChangeset
for help on using the changeset viewer.