- Timestamp:
- 08/16/10 09:54:22 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic/Symbols/VariableTreeNode.cs
r4068 r4220 21 21 22 22 using HeuristicLab.Core; 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 24 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 80 81 81 82 public override string ToString() { 82 return weight.ToString("E4") + " " + variableName; 83 if (weight.IsAlmost(1.0)) return variableName; 84 else return weight.ToString("E4") + " " + variableName; 83 85 } 84 86 }
Note: See TracChangeset
for help on using the changeset viewer.