A C++ implementation of a stable course allocation algorithm that assigns students to courses based on their preferences while respecting course priorities, capacities, prerequisites, and timetable conflicts.
- Stable allocation algorithm
- Preference-based matching
- Course priority handling
- Prerequisite and timetable conflict checks
- CSV input/output
- Built-in self-test and benchmarking modes
g++ -std=c++17 -O2 main.cpp -o allocator./allocator --students data/students.csv --courses data/courses.csvFor self-tests:
./allocator --self-testFor benchmarking:
./allocator --benchmark