Changeset 8503
- Timestamp:
- 08/20/12 10:17:23 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers/3.3/RunCollectionStatisticalTabularView.cs
r8502 r8503 155 155 string rowName = (string)dataRowComboBox.SelectedItem; 156 156 157 string[] rowNames = new string[] { "Count", "Minimum", "Maximum", "Average", "Median", "Standard Deviation", "Variance", "25th Percentile", "75th Percentile" };157 string[] columnNames = new string[] { "Count", "Minimum", "Maximum", "Average", "Median", "Standard Deviation", "Variance", "25th Percentile", "75th Percentile" }; 158 158 159 159 var runs = Content.Where(x => x.Results.ContainsKey(resultName)); 160 160 161 StringMatrix dt = new StringMatrix(r owNames.Count(), runs.Count());162 dt.RowNames = r owNames;163 dt.ColumnNames = runs.Select(x => x.Name);161 StringMatrix dt = new StringMatrix(runs.Count(), columnNames.Count()); 162 dt.RowNames = runs.Select(x => x.Name); 163 dt.ColumnNames = columnNames; 164 164 165 165 int i = 0; … … 179 179 double percentile75 = values.Percentile(0.75); 180 180 181 dt[ 0, i] = cnt.ToString();182 dt[ 1, i] = min.ToString();183 dt[ 2, i] = max.ToString();184 dt[ 3, i] = avg.ToString();185 dt[ 4, i] = median.ToString();186 dt[ 5, i] = stdDev.ToString();187 dt[ 6, i] = variance.ToString();188 dt[ 7, i] = percentile25.ToString();189 dt[ 8, i] = percentile75.ToString();181 dt[i,0] = cnt.ToString(); 182 dt[i,1] = min.ToString(); 183 dt[i,2] = max.ToString(); 184 dt[i,3] = avg.ToString(); 185 dt[i,4] = median.ToString(); 186 dt[i,5] = stdDev.ToString(); 187 dt[i,6] = variance.ToString(); 188 dt[i,7] = percentile25.ToString(); 189 dt[i,8] = percentile75.ToString(); 190 190 191 191 i++;
Note: See TracChangeset
for help on using the changeset viewer.