Ignore:
Timestamp:
08/28/06 18:42:33 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/EvalStats/EvalStats.cpp

    r827 r1291  
    1313using namespace std; 
    1414 
     15 
     16 
    1517/** This is a small function which takes two log files and computes the 
    1618        difference in percent of the weighted render cost. 
    1719*/ 
    18  
    19  
    2020struct RenderStats  
    2121{ 
     
    105105 
    106106        statsOut << "#ViewCells\n" << index + 1 << endl 
    107                          //<< "#TotalRenderCostGain\n" << 100.0f - costRatio * 100.0f << endl 
    108                          //<< "#AvgRenderCostGain\n" << 100.0f - avgCostRatio * 100.0f << endl << endl; 
    109107                         << "#TotalRenderCostRatio\n" << costRatio << endl 
    110108                         << "#AvgRenderCostRatio\n" << avgCostRatio << endl << endl; 
     
    149147                float val; 
    150148 
    151                 // soecial cases 
     149                // special cases 
    152150                if (j == 0) 
    153151                { 
     
    178176                } 
    179177 
    180                 // lower bound 
    181                 //int j = max (0, i - 1); 
    182                 //cout << "i: " << i << " j: " << j << endl; 
    183178                float ratio = (i && val) ? (float)i / val : 1; 
    184179 
    185                 //cout << "ratio: " << ratio << endl; 
    186180                outstream << "#Pass\n" << i << endl; 
    187181                outstream << "#RenderCost\n" << renderCost << endl; 
Note: See TracChangeset for help on using the changeset viewer.