Rels contains the relevance judgements that are required by the Evaluator in order to evaluate the quality of the generated aggregate list.
The relevance judgments are provided as an input to the library via a special CSV file.
Implementation files
The Rels class is defined in the src/Rels.h header file; its member functions are implemented in src/Rels.cpp.
Technical Details
Notice that the Evaluator contains a pointer to a Rels object. In this way, the Evaluator can quickly access the required relevance judgments during the evaluation procedure.
The Rels object is implemented as a standard hash table with the string item identifiers being its search key. The hash values are computed by the hash function of Daniel J. Bernstein, whereas the collisions are resolved by using chains in the form of linked lists.
The following interactive block diagram depicts the functionality of the Rels class inside the entire architecture of FLAGR.
