Changeset 3688
- Timestamp:
- 05/07/10 00:05:05 (15 years ago)
- Location:
- trunk/sources
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimizer/3.3/HeuristicLab.Optimizer-3.3.csproj
r3662 r3688 186 186 </ItemGroup> 187 187 <ItemGroup> 188 <EmbeddedResource Include="Documents\GP_SymbReg.hl" /> 188 189 <None Include="Documents\Images\New.png" /> 189 190 <None Include="Documents\Images\Open.png" /> … … 192 193 <None Include="Documents\Images\Restart.png" /> 193 194 <None Include="Documents\Images\Stop.png" /> 195 <EmbeddedResource Include="Documents\SGP_SantaFe.hl" /> 194 196 </ItemGroup> 195 197 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> -
trunk/sources/HeuristicLab.Parameters/3.3/LookupParameter.cs
r3687 r3688 88 88 89 89 public override string ToString() { 90 return string.Format("{0}: {1}", Name, ActualName); 90 if (Name.Equals(ActualName)) 91 return Name; 92 else 93 return Name + ": " + ActualName; 91 94 } 92 95 -
trunk/sources/HeuristicLab.Parameters/3.3/OptionalConstrainedValueParameter.cs
r3555 r3688 130 130 131 131 public override string ToString() { 132 return string.Format("{0}: {1}", Name,Value != null ? Value.ToString() : "null");132 return Name + ": " + (Value != null ? Value.ToString() : "null"); 133 133 } 134 134 -
trunk/sources/HeuristicLab.Parameters/3.3/OptionalValueParameter.cs
r3555 r3688 101 101 102 102 public override string ToString() { 103 return string.Format("{0}: {1}", Name,Value != null ? Value.ToString() : "null");103 return Name + ": " + (Value != null ? Value.ToString() : "null"); 104 104 } 105 105 -
trunk/sources/HeuristicLab.Parameters/3.3/Parameter.cs
r3555 r3688 102 102 103 103 public override string ToString() { 104 return string.Format("{0}", Name);104 return Name; 105 105 } 106 106 -
trunk/sources/HeuristicLab.Parameters/3.3/ScopeParameter.cs
r3555 r3688 47 47 48 48 public override string ToString() { 49 return string.Format("{0}", Name);49 return Name; 50 50 } 51 51 -
trunk/sources/HeuristicLab.Parameters/3.3/ValueLookupParameter.cs
r3555 r3688 104 104 105 105 public override string ToString() { 106 return string.Format("{0}: {1}", Name, Value != null ? Value.ToString() : ActualName); 106 if (Value != null) 107 return Name + ": " + Value.ToString(); 108 else if (Name.Equals(ActualName)) 109 return Name; 110 else 111 return Name + ": " + ActualName; 107 112 } 108 113
Note: See TracChangeset
for help on using the changeset viewer.