Changeset 2146 for trunk/sources
- Timestamp:
- 07/07/09 12:52:18 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.CEDMA.Core/3.3/Results.cs
r2139 r2146 90 90 } 91 91 92 long nStatements;93 DateTime start, stop;94 92 private IEnumerable<ResultsEntry> SelectRows() { 95 start = DateTime.Now;96 nStatements = 0;97 93 int page = 0; 98 94 int resultsReturned = 0; … … 115 111 foreach (var targetVariableBindings in allModels) { 116 112 resultsReturned = targetVariableBindings.Count(); 117 nStatements += resultsReturned;118 113 int nModels = Math.Max(10, resultsReturned * 10 / 100); 119 114 nModels = Math.Min(nModels, resultsReturned); … … 128 123 page++; 129 124 } while (resultsReturned == PAGE_SIZE); 130 stop = DateTime.Now;131 125 FireChanged(); 132 126 cached = true; … … 138 132 "<" + modelUri + "> ?Attribute ?Value .", 139 133 0, PAGE_SIZE); 140 nStatements += modelBindings.Count();141 134 foreach (var binding in modelBindings) { 142 135 if (binding.Get("Value") is Literal) { … … 166 159 0, PAGE_SIZE); 167 160 Dictionary<object, ResultsEntry> inputVariableAttributes = new Dictionary<object, ResultsEntry>(); 168 nStatements += inputVariableNameBindings.Count();169 nStatements += qualityImpactBindings.Count();170 nStatements += evaluationImpactBindings.Count();171 161 172 162 foreach (var inputVariableNameBinding in inputVariableNameBindings) {
Note: See TracChangeset
for help on using the changeset viewer.