-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathATSManager.java
More file actions
47 lines (37 loc) · 1.33 KB
/
Copy pathATSManager.java
File metadata and controls
47 lines (37 loc) · 1.33 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author GOThreads
*/
public class ATSManager {
DataManager dataMgr;
LogicManager logicMgr;
DisplayManager displayMgr;
Timeslot[] timeslots;
Course[] courses;
Section[] sections;
Room[] rooms;
Instructor[] instructors;
Period[] timetable;
public static void main(String[] args) {
/*
ATSManager myMgr = new ATSManager();
// create all managers
myMgr.dataMgr = new DataManager(myMgr);
myMgr.logicMgr = new LogicManager(myMgr);
myMgr.displayMgr = new DisplayManager(myMgr);
// initialise data
myMgr.timeslots = myMgr.dataMgr.readTimeslots("timeslots.csv");
myMgr.courses = myMgr.dataMgr.readCourses("courses.csv");
myMgr.sections = myMgr.dataMgr.readSections("sections.csv");
myMgr.rooms = myMgr.dataMgr.readRooms("rooms.csv");
myMgr.instructors = myMgr.dataMgr.readInstructors("instructors.csv");
// generate timetable
myMgr.periods = myMgr.logicMgr.generate(myMgr.timeslots,myMgr.courses, myMgr.sections,myMgr.rooms,myMgr.instructors);
*/
}
}