A Rel object contains a relevance judgement about a list element. It is read from a special input CSV file and it is used by an Evaluator to compute several evaluation measures about the generated aggregate list.

A Rel object is a member of a Rels collection, which in turn is referenced by an Evaluator.

Implementation files
The Rel class is defined in the src/Rel.h header file; its member functions are implemented in src/Rel.cpp.

Technical Details
The Rel class consists of the following member variables:

  • a string that represents the unique identifier of a MergedItem,
  • an integer relevance judgment. The higher the value of this variable, the more relevant/important the item is considered.
  • a next pointer to another Rel object that allows the creation of dynamic data structures (e.g. linked lists of Rel objects, etc.).

The following interactive block diagram depicts the functionality of the Rel class inside the entire architecture of FLAGR.

FLAGR architecture