Definition at line 79 of file TrecTopic.h. References mVideoEnd, mVideoStart, and ParseTime(). 00080 { 00081 double startT = ParseTime(mVideoStart[topic][example]); 00082 double endT = ParseTime(mVideoEnd[topic][example]); 00083 double duration = endT - startT; 00084 if (duration < 1.5) 00085 return "1.5"; 00086 if (duration > 59.9) 00087 return "59.9"; 00088 char buf[128]; 00089 sprintf(buf, "%.3f", duration); 00090 return String(buf); 00091 }
Here is the call graph for this function:
|