PrevUpHomeNext

ActivityConfiguration

struct ActivityConfiguration
{
    vector<Offering> offerings;
    bool             has_alternate_timeslots;

    bool operator==(const ActivityConfiguration& other) const;
};

Represents a selection of courses to take in a study session, including a choice of which offering of the course to take (that is, for half-courses that are offered in both the Fall and Spring terms, a choice of which term to take it in).

vector<Offering> offerings;

The selected offerings of the selected courses.

bool has_alternate_timeslots;

Do any of the selected offerings of the selected courses have alternate-week sections?

bool operator==(const ActivityConfiguration& other) const;

Compare two ActivityConfigurations for equality. Two ActivityConfigurations are equal if they represent the same choice of courses and offerings.


PrevUpHomeNext