Definition at line 456 of file mainMonetTest.cpp. References Impala::CmdOptions::GetInstance(), and Impala::CmdOptions::GetInt(). Referenced by CheckOneSimTable(), DoSimilarities(), and InsertOneSimTable(). 00457 { 00458 CmdOptions& options = CmdOptions::GetInstance(); 00459 int v = options.GetInt(optName); 00460 if (isInterval) 00461 { 00462 if (v == -1) 00463 return maxVal - minVal; 00464 if (minVal + v > maxVal) 00465 return maxVal - minVal; 00466 } 00467 else 00468 { 00469 if (v < minVal) 00470 return minVal; 00471 if (v > maxVal) 00472 return maxVal; 00473 } 00474 return v; 00475 }
Here is the call graph for this function:
|