Changeset 6628 for trunk/sources/HeuristicLab.Analysis
- Timestamp:
- 08/04/11 10:04:09 (13 years ago)
- Location:
- trunk/sources
- Files:
-
- 6 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources
- Property svn:mergeinfo changed
/branches/QAPAlgorithms (added) merged: 6350-6351,6355,6416,6569-6570,6586,6593-6594,6610-6611,6615-6617,6627
- Property svn:mergeinfo changed
-
trunk/sources/HeuristicLab.Analysis
- Property svn:mergeinfo changed
/branches/QAPAlgorithms/HeuristicLab.Analysis (added) merged: 6355,6569,6610-6611,6615-6616,6627
- Property svn:mergeinfo changed
-
trunk/sources/HeuristicLab.Analysis/3.3/DataVisualization/DataRow.cs
r5445 r6628 83 83 public DataRow(string name) 84 84 : base(name) { 85 VisualProperties = new DataRowVisualProperties( );85 VisualProperties = new DataRowVisualProperties(name); 86 86 values = new ObservableList<double>(); 87 87 } 88 88 public DataRow(string name, string description) 89 89 : base(name, description) { 90 VisualProperties = new DataRowVisualProperties( );90 VisualProperties = new DataRowVisualProperties(name); 91 91 values = new ObservableList<double>(); 92 92 } 93 93 public DataRow(string name, string description, IEnumerable<double> values) 94 94 : base(name, description) { 95 VisualProperties = new DataRowVisualProperties( );95 VisualProperties = new DataRowVisualProperties(name); 96 96 this.values = new ObservableList<double>(values); 97 97 } -
trunk/sources/HeuristicLab.Analysis/3.3/DataVisualization/DataRowVisualProperties.cs
r6342 r6628 20 20 #endregion 21 21 22 using System; 22 23 using System.ComponentModel; 23 24 using System.Drawing; … … 141 142 } 142 143 } 144 private string displayName; 145 public string DisplayName { 146 get { return displayName == null ? String.Empty : displayName; } 147 set { 148 if (displayName != value) { 149 if (value == null && displayName != String.Empty) { 150 displayName = String.Empty; 151 OnPropertyChanged("DisplayName"); 152 } else if (value != null) { 153 displayName = value; 154 OnPropertyChanged("DisplayName"); 155 } 156 } 157 } 158 } 143 159 144 160 #region Persistence Properties … … 187 203 get { return exactBins; } 188 204 set { exactBins = value; } 205 } 206 [Storable(Name = "DisplayName")] 207 private string StorableDisplayName { 208 get { return displayName; } 209 set { displayName = value; } 189 210 } 190 211 #endregion … … 203 224 this.bins = original.bins; 204 225 this.exactBins = original.exactBins; 226 this.displayName = original.displayName; 205 227 } 206 228 public DataRowVisualProperties() { … … 214 236 bins = 10; 215 237 exactBins = false; 238 displayName = String.Empty; 239 } 240 public DataRowVisualProperties(string displayName) 241 : this() { 242 this.displayName = displayName; 216 243 } 217 244 -
trunk/sources/HeuristicLab.Analysis/3.3/HeuristicLab.Analysis-3.3.csproj
r6342 r6628 139 139 <Compile Include="Properties\AssemblyInfo.cs" /> 140 140 <Compile Include="QualityAnalysis\QualityDistributionAnalyzer.cs" /> 141 <Compile Include="QualityAnalysis\ScaledQualityDifferenceAnalyzer.cs" /> 141 142 <Compile Include="ValueAnalysis\MinAverageMaxValueAnalyzer.cs" /> 142 143 <Compile Include="ValueAnalysis\MinAverageMaxValueCalculator.cs" /> -
trunk/sources/HeuristicLab.Analysis/3.3/QualityAnalysis/QualityDistributionAnalyzer.cs
r6342 r6628 126 126 string appendix = " at " + iterationName + " " + iteration.Value.ToString(); 127 127 table.Name += appendix; 128 table.Rows["QualityDistribution"]. Name += appendix;128 table.Rows["QualityDistribution"].VisualProperties.DisplayName += appendix; 129 129 } 130 130 qdHistory.Add(table);
Note: See TracChangeset
for help on using the changeset viewer.