This class is used to store and represent an input preference list submitted by a voter. It consists of an array of InputItem objects and it is connected to the voter who submitted it via a pointer that points to a Voter object.
The input lists are read from the input file by using an InputData object. The entire collection of them is handled by an Aggregator.
Implementation files
The InputList class is defined in the src/InputList.h header file; its member functions are implemented in src/InputList.cpp.
Technical Details
The actual number of elements in an InputList is num_items; the allocated memory is num_alloc_items. Naturally it derives that num_alloc_items must always be greater than, or equal to num_items.
The following interactive block diagram depicts the functionality of the InputList class inside the entire architecture of FLAGR.
