Changeset 1291 for GTP/trunk/Lib/Vis/Preprocessing/EvalStats
- Timestamp:
- 08/28/06 18:42:33 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/EvalStats/EvalStats.cpp
r827 r1291 13 13 using namespace std; 14 14 15 16 15 17 /** This is a small function which takes two log files and computes the 16 18 difference in percent of the weighted render cost. 17 19 */ 18 19 20 20 struct RenderStats 21 21 { … … 105 105 106 106 statsOut << "#ViewCells\n" << index + 1 << endl 107 //<< "#TotalRenderCostGain\n" << 100.0f - costRatio * 100.0f << endl108 //<< "#AvgRenderCostGain\n" << 100.0f - avgCostRatio * 100.0f << endl << endl;109 107 << "#TotalRenderCostRatio\n" << costRatio << endl 110 108 << "#AvgRenderCostRatio\n" << avgCostRatio << endl << endl; … … 149 147 float val; 150 148 151 // s oecial cases149 // special cases 152 150 if (j == 0) 153 151 { … … 178 176 } 179 177 180 // lower bound181 //int j = max (0, i - 1);182 //cout << "i: " << i << " j: " << j << endl;183 178 float ratio = (i && val) ? (float)i / val : 1; 184 179 185 //cout << "ratio: " << ratio << endl;186 180 outstream << "#Pass\n" << i << endl; 187 181 outstream << "#RenderCost\n" << renderCost << endl;
Note: See TracChangeset
for help on using the changeset viewer.