Public Methods |
| ResultFile (bool TRECFormat=true) |
| ~ResultFile () |
void | openForRead (istream &is,Index &index) |
| Open and associate an input stream for reading, e.g., with getResult function.
|
void | getResult (char *expectedQID,IndexedRealVector &res) |
| Read the results for a given query from the associated input stream into memory (stored in res).
|
void | openForWrite (ostream &os,Index &index) |
| Associate an output stream for writing results.
|
void | writeResults (char *queryID,IndexedRealVector *results,int maxCountOfResult) |
| writing the results (stored in results ) into the associated output stream, up to a maximum count.
|