Timetabler
global.h
Go to the documentation of this file.
1 
3 #ifndef GLOBAL_H
4 #define GLOBAL_H
5 
6 
10 enum FieldType {
11  instructor,
12  segment,
13  isMinor,
14  program,
15  classroom,
16  slot
17 };
18 
23  instructorSingleCourseAtATime,
24  classroomSingleCourseAtATime,
25  programSingleCoreCourseAtATime,
26  minorInMinorTime,
27  exactlyOneSlotPerCourse,
28  exactlyOneInstructorPerCourse,
29  exactlyOneSegmentPerCourse,
30  exactlyOneIsMinorPerCourse,
31  exactlyOneClassroomPerCourse,
32  coreInMorningTime,
33  electiveInNonMorningTime,
34  programAtMostOneOfCoreOrElective
35 };
36 
40 class Global {
41 public:
45  static const int FIELD_COUNT = 6;
49  static const int PREDEFINED_CLAUSES_COUNT = 11;
50 };
51 
52 #endif
53 
PredefinedClauses
Enum that represents all the predefined constraints.
Definition: global.h:22
FieldType
Enum that represents all the field types.
Definition: global.h:10
static const int PREDEFINED_CLAUSES_COUNT
Definition: global.h:49
static const int FIELD_COUNT
Definition: global.h:45
Class for global values.
Definition: global.h:40