-
Notifications
You must be signed in to change notification settings - Fork 0
/
Graph.h
29 lines (26 loc) · 1.21 KB
/
Graph.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
29
#include <iostream>
#include <list>
#include "Student.h"
/* Receives a file and returns a list of students */
using namespace std;
class Graph
{
private:
vector<Student *> students;
string fileName;
vector< vector<Student *> > result_cliques;
public:
Graph(string file_location);
int parseFile();
Student * getOrCreateStudent(int register_id, string name);
int studentsSorter();
bool static cmp (Student*, Student*);
int BronKerbosch(vector<Student *>, vector<Student *>, vector<Student *>);
int printMaxes();
vector<Student *>& getStudents();
vector<Student *> XintersectNeighborsofV(vector<Student *>, vector<Student *>, vector<Student *>, vector<Student *>);
vector<Student *> PintersectNeighborsofV(vector<Student *>, vector<Student *>, vector<Student *>, vector<Student *>);
vector<Student *> XunionV(vector<Student *>, vector<Student *>, vector<Student *>, vector<Student *>);
vector<Student *> PremoveV(vector<Student *>, vector<Student *>, vector<Student *>, vector<Student *>);
vector<Student *> RunionV(vector<Student *>, vector<Student *>, vector<Student *>, vector<Student *>);
};