#ifndef RACELISTGENERATOR_H #define RACELISTGENERATOR_H #include // shuffle list #include #include #include using std::cout; using std::endl; using std::vector; struct Combination { int driver; int car; }; class RaceListGenerator { public: RaceListGenerator(vector driverIds, vector carIds); vector> getList() ; private: void print(vector v); static int myrandom(int i); bool matchList(vector x1, vector x2); bool matchCombination(struct Combination x1, struct Combination x2); vector driverIds; vector carIds; }; #endif // RACELISTGENERATOR_H