Timetabler
global.h
Go to the documentation of this file.
1 
3 #ifndef GLOBAL_H
4 #define GLOBAL_H
5 
9 enum FieldType { instructor, segment, isMinor, program, classroom, slot };
10 
15  instructorSingleCourseAtATime,
16  classroomSingleCourseAtATime,
17  programSingleCoreCourseAtATime,
18  minorInMinorTime,
19  exactlyOneSlotPerCourse,
20  exactlyOneInstructorPerCourse,
21  exactlyOneSegmentPerCourse,
22  exactlyOneIsMinorPerCourse,
23  exactlyOneClassroomPerCourse,
24  coreInMorningTime,
25  electiveInNonMorningTime,
26  programAtMostOneOfCoreOrElective
27 };
28 
32 class Global {
33  public:
37  static const int FIELD_COUNT = 6;
41  static const int PREDEFINED_CLAUSES_COUNT = 12;
42 };
43 
44 #endif
PredefinedClauses
Enum that represents all the predefined constraints.
Definition: global.h:14
FieldType
Enum that represents all the field types.
Definition: global.h:9
static const int PREDEFINED_CLAUSES_COUNT
Definition: global.h:41
static const int FIELD_COUNT
Definition: global.h:37
Class for global values.
Definition: global.h:32