Changeset 9320 for branches/HeuristicLab.Analysis.AlgorithmBehavior
- Timestamp:
- 03/18/13 19:29:07 (12 years ago)
- Location:
- branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers.Views/3.3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers.Views/3.3/StatisticalTestingView.cs
r9319 r9320 75 75 76 76 var parameters = (from run in Content 77 where run.Visible 77 78 from param in run.Parameters 78 79 select param.Key).Distinct().ToArray(); … … 80 81 foreach (var p in parameters) { 81 82 var variations = (from run in Content 82 where run. Parameters.ContainsKey(p) &&83 where run.Visible && run.Parameters.ContainsKey(p) && 83 84 (run.Parameters[p] is IntValue || run.Parameters[p] is DoubleValue || 84 85 run.Parameters[p] is StringValue || run.Parameters[p] is BoolValue) … … 89 90 } 90 91 } 91 if (groupComboBox.Items.Count > 0) groupComboBox.SelectedItem = groupComboBox.Items[0]; 92 93 if (groupComboBox.Items.Count > 0) { 94 //try to select something different than "Seed" or "Algorithm Name" as this makes no sense 95 //and takes a long time to group 96 List<int> possibleIndizes = new List<int>(); 97 for (int i = 0; i < groupComboBox.Items.Count; i++) { 98 if (groupComboBox.Items[i].ToString() != "Seed" 99 && groupComboBox.Items[i].ToString() != "Algorithm Name") { 100 possibleIndizes.Add(i); 101 } 102 } 103 104 if (possibleIndizes.Count > 0) { 105 groupComboBox.SelectedItem = groupComboBox.Items[possibleIndizes.First()]; 106 } else { 107 groupComboBox.SelectedItem = groupComboBox.Items[0]; 108 } 109 } 92 110 } 93 111 … … 101 119 resultComboBox.Items.Clear(); 102 120 var results = (from run in Content 121 where run.Visible 103 122 from result in run.Results 104 123 where result.Value is IntValue || result.Value is DoubleValue … … 139 158 } 140 159 141 private List< RunCollection> GetGroups(string[] columnNames, IEnumerable<IRun> runs) {142 List< RunCollection> runCols = new List<RunCollection>();160 private List<IEnumerable<IRun>> GetGroups(string[] columnNames, IEnumerable<IRun> runs) { 161 List<IEnumerable<IRun>> runCols = new List<IEnumerable<IRun>>(); 143 162 string parameterName = (string)groupComboBox.SelectedItem; 144 163 145 164 foreach (string cn in columnNames) { 146 165 var tmpRuns = runs.Where(x => ((string)((dynamic)x.Parameters[parameterName]).Value.ToString()) == cn); 147 runCols.Add( new RunCollection(tmpRuns));166 runCols.Add(tmpRuns); 148 167 } 149 168 -
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers.Views/3.3/StatisticalTestingView.designer.cs
r9319 r9320 131 131 this.normalDistButton.Location = new System.Drawing.Point(3, 3); 132 132 this.normalDistButton.Name = "normalDistButton"; 133 this.normalDistButton.Size = new System.Drawing.Size(1 55, 23);133 this.normalDistButton.Size = new System.Drawing.Size(166, 23); 134 134 this.normalDistButton.TabIndex = 11; 135 135 this.normalDistButton.Text = "Check for Normal Distribution"; … … 170 170 // normalityDetails 171 171 // 172 this.normalityDetails.Location = new System.Drawing.Point(1 64, 3);172 this.normalityDetails.Location = new System.Drawing.Point(175, 3); 173 173 this.normalityDetails.Name = "normalityDetails"; 174 174 this.normalityDetails.Size = new System.Drawing.Size(181, 23); -
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers.Views/3.3/StatisticalTestingView.resx
r9319 r9320 166 166 lR7X/aj3Y+uI5ciZUdfRvidBTx6Mscae/5T+04fx/Kfkp+UTqhONk2aTp6fcp24+W/1s/Hnq8/npgp+l 167 167 f65+ofviu18cf+mbWTUz/pL/cuHX4lfyr468Xva6e9Z/9vGb5Dfzc4Vv5d8efcd41/s+7P3EfOYH7IeK 168 j3ofuz55f3q4kLyw8Bv3hPP74uYdwgAAAAlwSFlzAAAL EAAACxABrSO9dQAAABl0RVh0U29mdHdhcmUA168 j3ofuz55f3q4kLyw8Bv3hPP74uYdwgAAAAlwSFlzAAALDwAACw8BkvkDpQAAABl0RVh0U29mdHdhcmUA 169 169 UGFpbnQuTkVUIHYzLjUuODc7gF0AAAK0SURBVDhPrZBrSNNRAMWNvkVEEBT0oY+BUAgSRBhIQmUqKYb4 170 170 KgudU1MTlj2WZUlMykdu+VhatmWKWaaITF35qCmzWoaGj81kms72dm5/3cM9TtvdX9Sob/0+XC6Hcw73
Note: See TracChangeset
for help on using the changeset viewer.