-
Notifications
You must be signed in to change notification settings - Fork 0
/
algorithmsSet.h
28 lines (24 loc) · 1.1 KB
/
algorithmsSet.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#include <iostream>
#include "professor.h"
#include "course.h"
#include <vector>
#include <algorithm>
using namespace std;
class AlgorithmsSet
{
public:
static vector<Professor> orderedProfessors;
static vector<Course> UGCDCorderedCourses;
static vector<Course> UGELECTorderedCourses;
static vector<Course> HDCDCorderedCourses;
static vector<Course> HDELECTorderedCourses;
static vector<Course> OrderedCDCCourses;
static vector<Course> OrderedElectCourses;
static vector<Professor> assignedProfessorsWithCourses;
static void initiateAlgorithms(vector<Professor> professors, vector<Course> UGCDCCourses, vector<Course> UGELECTCourses, vector<Course> HDCDCCourses, vector<Course> HDELECTCourses);
static void algorithm(vector<Professor> OrderedProfessors, vector<Course> CDCCourses, vector<Course> ElectCourses, int noOfOutputs);
static void printProfessors(vector<Professor> professors);
static void calcPopularityOfProfOnCDCs(vector<Professor> &professors);
static void calcPopularityOfProfOnElectives(vector<Professor> &professors);
static void printCourses();
};