Changeset 3465
- Timestamp:
- 04/21/10 16:16:30 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic/Symbols
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic/Symbols/ConstantTreeNode.cs
r3442 r3465 56 56 public override void ResetLocalParameters(IRandom random) { 57 57 base.ResetLocalParameters(random); 58 var range = Symbol.MaxValue - Symbol.M axValue;58 var range = Symbol.MaxValue - Symbol.MinValue; 59 59 Value = random.NextDouble() * range - Symbol.MinValue; 60 60 } … … 65 65 66 66 public override string ToString() { 67 return constantValue.ToString("E 5");67 return constantValue.ToString("E4"); 68 68 } 69 69 } -
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic/Symbols/VariableTreeNode.cs
r3442 r3465 76 76 77 77 public override string ToString() { 78 return weight.ToString("E 5") + " *" + variableName;78 return weight.ToString("E4") + " " + variableName; 79 79 } 80 80 }
Note: See TracChangeset
for help on using the changeset viewer.