Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- add(CustomConstraint) - Method in class at.htl.timetableGenerator.backend.TimetableResource
- addConstraint(Constraint) - Method in class at.htl.timetableGenerator.model.School
-
Adds a constraint to all school classes in this school.
- addConstraint(Constraint) - Method in class at.htl.timetableGenerator.model.SchoolClass
-
Adds a constraint to this school class.
- addRoom(Room) - Method in class at.htl.timetableGenerator.model.School
-
Adds a room to the school.
- addSchoolClass(SchoolClass) - Method in class at.htl.timetableGenerator.model.School
-
Adds a school class to the school.
- addSubject(Subject) - Method in class at.htl.timetableGenerator.model.Teacher
-
Adds a subject to the set of subjects this teacher can teach.
- addTeacher(Teacher) - Method in class at.htl.timetableGenerator.model.School
-
Adds a teacher to the school.
- AFTER - Enum constant in enum class at.htl.timetableGenerator.constraints.TimeKeyword
- answer - Variable in class at.htl.timetableGenerator.backend.TimetableResource.MultipleStringsReturnObject
- App - Class in at.htl.timetableGenerator
-
The main class of the application.
- App() - Constructor for class at.htl.timetableGenerator.App
- at.htl.timetableGenerator - package at.htl.timetableGenerator
-
This package is the main package for the timetable generator tool.
- at.htl.timetableGenerator.backend - package at.htl.timetableGenerator.backend
- at.htl.timetableGenerator.constraints - package at.htl.timetableGenerator.constraints
-
This package provides various constraints for generating timetables.
- at.htl.timetableGenerator.constraints.constraints - package at.htl.timetableGenerator.constraints.constraints
- at.htl.timetableGenerator.exceptions - package at.htl.timetableGenerator.exceptions
-
This package contains custom exceptions that are used throughout the timetable generator application.
- at.htl.timetableGenerator.factory - package at.htl.timetableGenerator.factory
-
This package provides factories for common classes used in the timetable generator application.
- at.htl.timetableGenerator.model - package at.htl.timetableGenerator.model
- at.htl.timetableGenerator.output - package at.htl.timetableGenerator.output
-
This package is used to output timetables to various formats.
B
- BalanceConstraint - Class in at.htl.timetableGenerator.constraints.constraints
- BalanceConstraint() - Constructor for class at.htl.timetableGenerator.constraints.constraints.BalanceConstraint
- BEFORE - Enum constant in enum class at.htl.timetableGenerator.constraints.TimeKeyword
C
- calculateColumnWidth(Timetable) - Static method in class at.htl.timetableGenerator.output.TimetablePrinter
-
Calculates the width of the widest column in the timetable.
- check(Timetable, Lesson, Set<Teacher>, Map<String, Room>) - Method in class at.htl.timetableGenerator.constraints.constraints.ContinuousHoursConstraint
-
Checks if the given timetable, time slot, course, and set of teachers meet this double hour constraint.
- check(Timetable, Lesson, Set<Teacher>, Map<String, Room>) - Method in class at.htl.timetableGenerator.constraints.constraints.NonePlacedBeforeConstraint
-
Checks if the given timetable, time slot, course, and set of teachers meet this constraint.
- check(Timetable, Lesson, Set<Teacher>, Map<String, Room>) - Method in class at.htl.timetableGenerator.constraints.constraints.BalanceConstraint
- check(Timetable, Lesson, Set<Teacher>, Map<String, Room>) - Method in class at.htl.timetableGenerator.constraints.constraints.RoomConstraint
-
Checks if the given timetable, time slot, course, and set of teachers meet this teacher constraint.
- check(Timetable, Lesson, Set<Teacher>, Map<String, Room>) - Method in class at.htl.timetableGenerator.constraints.constraints.TeacherConstraint
-
Checks if the given timetable, time slot, course, and set of teachers meet this teacher constraint.
- check(Timetable, Lesson, Set<Teacher>, Map<String, Room>) - Method in class at.htl.timetableGenerator.constraints.constraints.CustomConstraint
- check(Timetable, Lesson, Set<Teacher>, Map<String, Room>) - Method in class at.htl.timetableGenerator.constraints.constraints.CustomDurationConstraint
- check(Timetable, Lesson, Set<Teacher>, Map<String, Room>) - Method in interface at.htl.timetableGenerator.constraints.Constraint
-
Checks if the given timetable, time slot, course, and set of teachers meet this constraint.
- checkConstraints(TimeSlot, Subject) - Method in class at.htl.timetableGenerator.model.Timetable
-
Checks if the given time slot and course meet all constraints.
- CLASSES - Enum constant in enum class at.htl.timetableGenerator.output.ExportData
-
Represents the classes data type for export.
- Constraint - Interface in at.htl.timetableGenerator.constraints
-
This interface represents a constraint in a timetable.
- ConstraintParser - Class in at.htl.timetableGenerator.constraints
- ConstraintParser(String) - Constructor for class at.htl.timetableGenerator.constraints.ConstraintParser
- ConstraintUtils - Class in at.htl.timetableGenerator.constraints
-
This class provides utility methods for handling constraints in the timetable generator.
- ConstraintUtils() - Constructor for class at.htl.timetableGenerator.constraints.ConstraintUtils
-
Default constructor.
- contains(Subject) - Method in class at.htl.timetableGenerator.model.Timetable
-
Checks if the timetable contains a specific subject.
- ContinuousHoursConstraint - Class in at.htl.timetableGenerator.constraints.constraints
-
This class represents a double hour constraint in a timetable.
- ContinuousHoursConstraint() - Constructor for class at.htl.timetableGenerator.constraints.constraints.ContinuousHoursConstraint
- createFromFile(String) - Static method in class at.htl.timetableGenerator.factory.CustomConstraintFactory
-
Creates a set of Constraints from a file.
- createFromFile(String) - Static method in class at.htl.timetableGenerator.factory.MultipleConstraintFactory
-
Creates a set of Constraints from a file.
- createFromFile(String, String) - Static method in class at.htl.timetableGenerator.factory.RoomFactory
-
Creates a map of Room objects from a file.
- createFromFile(String, String) - Static method in class at.htl.timetableGenerator.factory.SubjectFactory
-
Creates a set of Subject objects from a file.
- createFromFile(String, Set<Subject>, String) - Static method in class at.htl.timetableGenerator.factory.TeacherFactory
-
Creates a set of Teacher objects from a file.
- createFromFile(String, Set<Subject>, String) - Static method in class at.htl.timetableGenerator.factory.WeeklySubjectsFactory
-
Creates a map of WeeklySubject objects from a file, where the keys are the names of the school classes and the values are sets of WeeklySubject objects.
- createFromFile(String, Set<Teacher>, HashMap<String, HashSet<WeeklySubject>>, String) - Static method in class at.htl.timetableGenerator.factory.SchoolClassesFactory
-
Creates a set of SchoolClass objects from a file.
- createFromString(String) - Static method in class at.htl.timetableGenerator.factory.CustomConstraintFactory
-
Creates a Constraint from a string.
- createFromString(String) - Static method in class at.htl.timetableGenerator.factory.MultipleConstraintFactory
-
Creates a Constraint from a string.
- createFromString(String, String) - Static method in class at.htl.timetableGenerator.factory.RoomFactory
-
Creates a Room object from a string.
- createFromString(String, String) - Static method in class at.htl.timetableGenerator.factory.SubjectFactory
-
Creates a Subject object from a string.
- createFromString(String, Set<Subject>, String) - Static method in class at.htl.timetableGenerator.factory.TeacherFactory
-
Creates a Teacher object from a string.
- createFromString(String, Set<Subject>, String) - Static method in class at.htl.timetableGenerator.factory.WeeklySubjectsFactory
-
Creates a Pair object from a string, where the key is the name of the school class and the value is a WeeklySubject object.
- createFromString(String, Set<Teacher>, HashMap<String, HashSet<WeeklySubject>>, String) - Static method in class at.htl.timetableGenerator.factory.SchoolClassesFactory
-
Creates a SchoolClass object from a string.
- CSV - Enum constant in enum class at.htl.timetableGenerator.output.ExportFormat
-
Represents the CSV export format.
- CSV_MULTIPLE - Enum constant in enum class at.htl.timetableGenerator.output.ExportFormat
-
Represents the multiple CSV files export format.
- CSVExporter - Class in at.htl.timetableGenerator.output
-
This class provides methods to export timetables to CSV files.
- CSVExporter() - Constructor for class at.htl.timetableGenerator.output.CSVExporter
- CustomConstraint - Class in at.htl.timetableGenerator.constraints.constraints
- CustomConstraint(String, int, TimeKeyword, boolean) - Constructor for class at.htl.timetableGenerator.constraints.constraints.CustomConstraint
- CustomConstraintFactory - Class in at.htl.timetableGenerator.factory
-
This class provides factory methods for creating Subject objects.
- CustomConstraintFactory() - Constructor for class at.htl.timetableGenerator.factory.CustomConstraintFactory
- CustomDurationConstraint - Class in at.htl.timetableGenerator.constraints.constraints
- CustomDurationConstraint(String, int, DurationKeyword, boolean) - Constructor for class at.htl.timetableGenerator.constraints.constraints.CustomDurationConstraint
D
- DurationKeyword - Enum Class in at.htl.timetableGenerator.constraints
- durationKeywords() - Method in class at.htl.timetableGenerator.backend.TimetableResource
E
- equals(Object) - Method in class at.htl.timetableGenerator.model.Lesson
-
Checks if this lesson is equal to another object.
- equals(Object) - Method in class at.htl.timetableGenerator.model.Room
-
Checks if this room is equal to another object.
- equals(Object) - Method in record class at.htl.timetableGenerator.model.Subject
-
Checks if the given object is equal to this subject.
- equals(Object) - Method in class at.htl.timetableGenerator.model.Teacher
-
Checks if the given object is equal to this teacher.
- equals(Object) - Method in class at.htl.timetableGenerator.model.TimeSlot
-
Checks if this time slot is equal to the specified object.
- equals(Object) - Method in class at.htl.timetableGenerator.model.WeeklySubject
-
Checks if the given object is equal to this WeeklySubjects.
- errorCode - Variable in class at.htl.timetableGenerator.backend.TimetableResource.MultipleStringsReturnObject
- EXCEL - Enum constant in enum class at.htl.timetableGenerator.output.ExportFormat
-
Represents the Excel export format.
- ExcelExporter - Class in at.htl.timetableGenerator.output
-
This class provides a method to export timetables to an Excel workbook.
- ExcelExporter() - Constructor for class at.htl.timetableGenerator.output.ExcelExporter
- exportAllTimetables(Set<ExportData>, Set<ExportFormat>, String) - Method in class at.htl.timetableGenerator.model.School
-
Exports all timetables of the school to the specified directory in the specified formats.
- exportData() - Method in class at.htl.timetableGenerator.backend.TimetableResource
- ExportData - Enum Class in at.htl.timetableGenerator.output
-
This enum represents the different types of data that can be exported.
- ExportException - Exception Class in at.htl.timetableGenerator.exceptions
-
This class represents an exception that is thrown when an error occurs during the export process.
- ExportException(String) - Constructor for exception class at.htl.timetableGenerator.exceptions.ExportException
-
Constructs a new ExportException with the specified detail message.
- ExportException(String, Throwable) - Constructor for exception class at.htl.timetableGenerator.exceptions.ExportException
-
Constructs a new ExportException with the specified detail message and cause.
- ExportFormat - Enum Class in at.htl.timetableGenerator.output
-
This enum represents the different formats that can be used for exporting data.
- exportFormats() - Method in class at.htl.timetableGenerator.backend.TimetableResource
- exportTimetablesToMultipleFiles(Map<String, Timetable>, String) - Static method in class at.htl.timetableGenerator.output.CSVExporter
-
Exports multiple timetables to separate CSV files.
- exportTimetablesToSingleFile(Map<String, Timetable>, String) - Static method in class at.htl.timetableGenerator.output.CSVExporter
-
Exports multiple timetables to a single CSV file.
- exportTimetableToFile(Timetable, String) - Static method in class at.htl.timetableGenerator.output.CSVExporter
-
Exports a single timetable to a CSV file.
- exportToWorkbook(Map<String, Timetable>, String) - Static method in class at.htl.timetableGenerator.output.ExcelExporter
-
Exports multiple timetables to an Excel workbook.
F
- FREISTUNDE - Static variable in class at.htl.timetableGenerator.model.Timetable
G
- generateTimetable(int, int, Set<Teacher>, Map<String, Room>) - Method in class at.htl.timetableGenerator.model.SchoolClass
-
Generates a timetable for this school class.
- generateTimetables(int, int, int) - Method in class at.htl.timetableGenerator.model.School
-
Generates timetables for all school classes in this school.
- getConstraintFromString(String) - Static method in class at.htl.timetableGenerator.constraints.ConstraintUtils
-
This method returns a Constraint object based on the input string.
- getConstraints() - Method in class at.htl.timetableGenerator.model.School
-
Returns the constraints of the school.
- getConstraints() - Method in class at.htl.timetableGenerator.model.SchoolClass
-
Returns the constraints of the school class.
- getConstraints() - Method in class at.htl.timetableGenerator.model.Timetable
- getDay() - Method in class at.htl.timetableGenerator.model.TimeSlot
-
Returns the day of the week for this time slot.
- getFormTeacher() - Method in class at.htl.timetableGenerator.model.SchoolClass
-
Returns the form teacher of the school class.
- getHour() - Method in class at.htl.timetableGenerator.model.TimeSlot
-
Returns the hour of the day for this time slot.
- getLesson(TimeSlot) - Method in class at.htl.timetableGenerator.model.Room
-
Returns the lesson at the specified time slot in the room's timetable.
- getLesson(TimeSlot) - Method in class at.htl.timetableGenerator.model.SchoolClass
-
Returns the lesson at the specified time slot.
- getLesson(TimeSlot) - Method in class at.htl.timetableGenerator.model.Teacher
-
Returns the lesson at a given time slot.
- getLesson(TimeSlot) - Method in class at.htl.timetableGenerator.model.Timetable
-
Returns the lesson at a given time slot.
- getMaxNoOfHoursPerDay() - Method in class at.htl.timetableGenerator.model.Timetable
-
Returns the maximum number of hours per day.
- getMaxTotalScore() - Method in class at.htl.timetableGenerator.model.Timetable
- getName() - Method in class at.htl.timetableGenerator.model.Room
-
Returns the name of the room.
- getName() - Method in class at.htl.timetableGenerator.model.School
-
Returns the name of the school.
- getName() - Method in class at.htl.timetableGenerator.model.SchoolClass
-
Returns the name of this school class.
- getName() - Method in class at.htl.timetableGenerator.model.Teacher
-
Returns the name of this teacher.
- getNoOfDayPerWeek() - Method in class at.htl.timetableGenerator.model.Timetable
-
Returns the number of days per week.
- getNoOfSubject(Subject) - Method in class at.htl.timetableGenerator.model.Timetable
-
Gets the number of times a given subject appears in the timetable
- getNoPerWeek() - Method in class at.htl.timetableGenerator.model.WeeklySubject
-
Returns the number of times the subject is taught per week.
- getPadding(int, String) - Static method in class at.htl.timetableGenerator.output.TimetablePrinter
-
Calculates the number of padding spaces needed to center a string within a given width.
- getRoom() - Method in class at.htl.timetableGenerator.model.Lesson
-
Returns the room of the lesson.
- getRoom(String) - Method in class at.htl.timetableGenerator.model.School
-
Returns the room with the specified name.
- getRooms() - Method in class at.htl.timetableGenerator.model.School
-
Returns the rooms of the school.
- getSchoolClass() - Method in class at.htl.timetableGenerator.model.Lesson
-
Returns the school class of the lesson.
- getSchoolClasses() - Method in class at.htl.timetableGenerator.model.School
-
Returns the school classes of the school.
- getScoreForDay(DayOfWeek) - Method in class at.htl.timetableGenerator.model.Timetable
- getSubject() - Method in class at.htl.timetableGenerator.model.Lesson
-
Returns the subject of the lesson.
- getSubject() - Method in class at.htl.timetableGenerator.model.WeeklySubject
-
Returns the subject that is taught.
- getSubjects() - Method in class at.htl.timetableGenerator.model.Teacher
-
Returns the set of subjects this teacher can teach.
- getTeacher() - Method in class at.htl.timetableGenerator.model.Lesson
-
Returns the teacher of the lesson.
- getTeachers() - Method in class at.htl.timetableGenerator.model.School
-
Returns the teachers of the school.
- getTimeSlot() - Method in class at.htl.timetableGenerator.model.Lesson
-
Returns the time slot of the lesson.
- getTimetable() - Method in class at.htl.timetableGenerator.model.Room
-
Returns the timetable of the room.
- getTimetable() - Method in class at.htl.timetableGenerator.model.SchoolClass
-
Returns the timetable of the school class.
- getTimetable() - Method in class at.htl.timetableGenerator.model.Teacher
-
Returns the timetable of lessons this teacher is occupied with.
- getTimetable() - Method in class at.htl.timetableGenerator.model.Timetable
-
Returns the timetable.
- getTimetableAsArray() - Method in class at.htl.timetableGenerator.model.Timetable
-
Returns the timetable as a 2D array of lessons.
- getWeeklySubjects() - Method in class at.htl.timetableGenerator.model.SchoolClass
-
Returns the list of weekly courses for this school class.
H
- hasAvailableDoubleHourSpot(Subject) - Method in class at.htl.timetableGenerator.model.Timetable
-
Checks if there is an available double hour spot for a given course.
- hashCode() - Method in class at.htl.timetableGenerator.model.Lesson
- hashCode() - Method in class at.htl.timetableGenerator.model.Room
-
Returns a hash code value for the room.
- hashCode() - Method in record class at.htl.timetableGenerator.model.Subject
-
Returns a hash code value for this subject.
- hashCode() - Method in class at.htl.timetableGenerator.model.Teacher
-
Returns a hash code value for this teacher.
- hashCode() - Method in class at.htl.timetableGenerator.model.TimeSlot
-
Returns a hash code value for this time slot.
- hashCode() - Method in class at.htl.timetableGenerator.model.WeeklySubject
-
Returns a hash code value for this WeeklySubjects.
I
- ImportException - Exception Class in at.htl.timetableGenerator.exceptions
-
This class represents a custom exception that is thrown when an error occurs during the import process.
- ImportException(String) - Constructor for exception class at.htl.timetableGenerator.exceptions.ImportException
-
Constructs a new ImportException with the specified detail message.
- ImportException(String, Throwable) - Constructor for exception class at.htl.timetableGenerator.exceptions.ImportException
-
Constructs a new ImportException with the specified detail message and cause.
- IncompatibleSubjectException - Exception Class in at.htl.timetableGenerator.exceptions
-
This class represents an exception that is thrown when a subject is incompatible.
- IncompatibleSubjectException(String) - Constructor for exception class at.htl.timetableGenerator.exceptions.IncompatibleSubjectException
-
Constructs a new IncompatibleSubjectException with the specified detail message.
- IncompatibleSubjectException(String, Throwable) - Constructor for exception class at.htl.timetableGenerator.exceptions.IncompatibleSubjectException
-
Constructs a new IncompatibleSubjectException with the specified detail message and cause.
- isRequired() - Method in interface at.htl.timetableGenerator.constraints.Constraint
- isRequired() - Method in class at.htl.timetableGenerator.constraints.constraints.BalanceConstraint
- isRequired() - Method in class at.htl.timetableGenerator.constraints.constraints.CustomConstraint
- isRequired() - Method in class at.htl.timetableGenerator.constraints.constraints.CustomDurationConstraint
- isRequired() - Method in class at.htl.timetableGenerator.constraints.constraints.NonePlacedBeforeConstraint
- isRequired() - Method in class at.htl.timetableGenerator.constraints.constraints.RoomConstraint
- isRequired() - Method in class at.htl.timetableGenerator.constraints.constraints.TeacherConstraint
L
- Lesson - Class in at.htl.timetableGenerator.model
-
This class represents a lesson in a timetable.
- Lesson(Subject, TimeSlot) - Constructor for class at.htl.timetableGenerator.model.Lesson
-
Constructs a new Lesson with the specified subject and time slot.
- LONGER - Enum constant in enum class at.htl.timetableGenerator.constraints.DurationKeyword
M
- main(String[]) - Static method in class at.htl.timetableGenerator.App
-
The main method of the application.
- MIN_NUMBER_OF_DAYS_PER_WEEK - Static variable in class at.htl.timetableGenerator.model.Timetable
- MIN_NUMBER_OF_HOURS_PER_DAY - Static variable in class at.htl.timetableGenerator.model.Timetable
- MultipleConstraintFactory - Class in at.htl.timetableGenerator.factory
-
This class provides factory methods for creating Subject objects.
- MultipleConstraintFactory() - Constructor for class at.htl.timetableGenerator.factory.MultipleConstraintFactory
- MultipleStringsReturnObject() - Constructor for class at.htl.timetableGenerator.backend.TimetableResource.MultipleStringsReturnObject
N
- name() - Method in record class at.htl.timetableGenerator.model.Subject
-
Returns the value of the
namerecord component. - nextDay() - Method in class at.htl.timetableGenerator.model.TimeSlot
-
Returns a new TimeSlot that represents the next day at the same hour.
- nextHour() - Method in class at.htl.timetableGenerator.model.TimeSlot
-
Returns a new TimeSlot that represents the same day at the next hour.
- NonePlacedBeforeConstraint - Class in at.htl.timetableGenerator.constraints.constraints
-
This class represents a constraint in a timetable where no course is placed before the current one.
- NonePlacedBeforeConstraint() - Constructor for class at.htl.timetableGenerator.constraints.constraints.NonePlacedBeforeConstraint
- NoSuchConstraintException - Exception Class in at.htl.timetableGenerator.exceptions
- NoSuchConstraintException() - Constructor for exception class at.htl.timetableGenerator.exceptions.NoSuchConstraintException
- NoSuchConstraintException(String) - Constructor for exception class at.htl.timetableGenerator.exceptions.NoSuchConstraintException
- NoSuchConstraintException(String, Throwable) - Constructor for exception class at.htl.timetableGenerator.exceptions.NoSuchConstraintException
- NotFoundExceptionMapper - Class in at.htl.timetableGenerator.backend
- NotFoundExceptionMapper() - Constructor for class at.htl.timetableGenerator.backend.NotFoundExceptionMapper
O
- ON - Enum constant in enum class at.htl.timetableGenerator.constraints.TimeKeyword
P
- parse() - Method in class at.htl.timetableGenerator.constraints.ConstraintParser
- prevDay() - Method in class at.htl.timetableGenerator.model.TimeSlot
-
Returns a new TimeSlot that represents the previous day at the same hour.
- prevHour() - Method in class at.htl.timetableGenerator.model.TimeSlot
-
Returns a new TimeSlot that represents the same day at the previous hour.
- print(Timetable) - Static method in class at.htl.timetableGenerator.output.TimetablePrinter
-
Prints the entire timetable in a formatted manner.
- printHeader(Timetable, int, StringBuilder) - Static method in class at.htl.timetableGenerator.output.TimetablePrinter
-
Prints the header row of the timetable.
- printRow(Timetable, int, int, StringBuilder) - Static method in class at.htl.timetableGenerator.output.TimetablePrinter
-
Prints a row of subjects in the timetable.
- printSeparator(Timetable, int, StringBuilder) - Static method in class at.htl.timetableGenerator.output.TimetablePrinter
-
Prints a separator line in the timetable.
- printThickSeparator(Timetable, int, StringBuilder) - Static method in class at.htl.timetableGenerator.output.TimetablePrinter
-
Prints a thick separator line in the timetable.
R
- random - Static variable in class at.htl.timetableGenerator.App
- removeConstraint(Constraint) - Method in class at.htl.timetableGenerator.model.School
-
Removes a constraint from all school classes in this school.
- removeConstraint(Constraint) - Method in class at.htl.timetableGenerator.model.SchoolClass
-
Removes a constraint from this school class.
- removeSchoolClass(SchoolClass) - Method in class at.htl.timetableGenerator.model.School
-
Removes a school class from the school.
- removeSubject(Subject) - Method in class at.htl.timetableGenerator.model.Teacher
-
Removes a subject from the set of subjects this teacher can teach.
- removeTeacher(Teacher) - Method in class at.htl.timetableGenerator.model.School
-
Removes a teacher from the school.
- Room - Class in at.htl.timetableGenerator.model
-
This class represents a room in a timetable.
- Room(String) - Constructor for class at.htl.timetableGenerator.model.Room
-
Constructs a new Room with the specified name.
- RoomConstraint - Class in at.htl.timetableGenerator.constraints.constraints
-
This class represents a teacher constraint in a timetable.
- RoomConstraint() - Constructor for class at.htl.timetableGenerator.constraints.constraints.RoomConstraint
- RoomFactory - Class in at.htl.timetableGenerator.factory
-
This class provides factory methods for creating Room objects.
- RoomFactory() - Constructor for class at.htl.timetableGenerator.factory.RoomFactory
- rooms() - Method in class at.htl.timetableGenerator.backend.TimetableResource
- ROOMS - Enum constant in enum class at.htl.timetableGenerator.output.ExportData
-
Represents the rooms data type for export.
S
- School - Class in at.htl.timetableGenerator.model
-
This class represents a school.
- School(String) - Constructor for class at.htl.timetableGenerator.model.School
-
Constructs a new School with the specified name.
- School(String, Set<SchoolClass>, Set<Teacher>) - Constructor for class at.htl.timetableGenerator.model.School
-
Constructs a new School with the specified school classes and teachers.
- SchoolClass - Class in at.htl.timetableGenerator.model
-
This class represents a school class in a school.
- SchoolClass(String, HashSet<WeeklySubject>) - Constructor for class at.htl.timetableGenerator.model.SchoolClass
-
Constructs a new SchoolClass with the specified name and weekly courses.
- SchoolClassesFactory - Class in at.htl.timetableGenerator.factory
-
This class provides factory methods for creating SchoolClass objects.
- SchoolClassesFactory() - Constructor for class at.htl.timetableGenerator.factory.SchoolClassesFactory
- schools() - Method in class at.htl.timetableGenerator.backend.TimetableResource
- score() - Method in record class at.htl.timetableGenerator.model.Subject
-
Returns the value of the
scorerecord component. - seed - Static variable in class at.htl.timetableGenerator.App
- setConstraints(Set<Constraint>) - Method in class at.htl.timetableGenerator.model.Timetable
- setConstraints(Set<Constraint>) - Method in class at.htl.timetableGenerator.model.School
-
Sets the constraints of the school.
- setDay(DayOfWeek) - Method in class at.htl.timetableGenerator.model.TimeSlot
-
Sets the day of the week for this time slot.
- setFormTeacher(Teacher) - Method in class at.htl.timetableGenerator.model.SchoolClass
-
Sets the form teacher of the school class.
- setHour(int) - Method in class at.htl.timetableGenerator.model.TimeSlot
-
Sets the hour of the day for this time slot.
- setLesson(Lesson) - Method in class at.htl.timetableGenerator.model.Room
-
Sets the lesson at the specified time slot in the room's timetable.
- setLesson(Lesson) - Method in class at.htl.timetableGenerator.model.SchoolClass
-
Sets the lesson at the specified time slot.
- setLesson(Lesson) - Method in class at.htl.timetableGenerator.model.Teacher
-
Sets the lesson for this teacher in the occupiedLessons timetable.
- setLesson(Lesson) - Method in class at.htl.timetableGenerator.model.Timetable
-
Sets the lesson at its timeslot.
- setMaxNoOfHoursPerDay(int) - Method in class at.htl.timetableGenerator.model.Timetable
-
Sets the maximum number of hours per day.
- setNoOfDayPerWeek(int) - Method in class at.htl.timetableGenerator.model.Timetable
-
Sets the number of days per week.
- setNoPerWeek(int) - Method in class at.htl.timetableGenerator.model.WeeklySubject
-
Sets the number of times the subject is taught per week.
- setOccupiedLessons(Timetable) - Method in class at.htl.timetableGenerator.model.Teacher
-
Sets the timetable of lessons this teacher is occupied with.
- setRoom(Room) - Method in class at.htl.timetableGenerator.model.Lesson
-
Sets the room of the lesson.
- setRooms(Map<String, Room>) - Method in class at.htl.timetableGenerator.model.School
-
Sets the rooms of the school.
- setSchoolClass(SchoolClass) - Method in class at.htl.timetableGenerator.model.Lesson
-
Sets the school class of the lesson.
- setSchoolClasses(Set<SchoolClass>) - Method in class at.htl.timetableGenerator.model.School
-
Sets the school classes in this school.
- setSubject(Subject) - Method in class at.htl.timetableGenerator.model.Lesson
-
Sets the subject of the lesson.
- setSubject(Subject) - Method in class at.htl.timetableGenerator.model.WeeklySubject
-
Sets the subject that is taught.
- setSubjects(Set<Subject>) - Method in class at.htl.timetableGenerator.model.Teacher
-
Sets the subjects this teacher can teach.
- setTeacher(Teacher) - Method in class at.htl.timetableGenerator.model.Lesson
-
Sets the teacher of the lesson.
- setTeachers(Set<Teacher>) - Method in class at.htl.timetableGenerator.model.School
-
Sets the teachers in this school.
- setTimeSlot(TimeSlot) - Method in class at.htl.timetableGenerator.model.Lesson
-
Sets the time slot of the lesson.
- setTimetable(Subject) - Method in class at.htl.timetableGenerator.model.Timetable
-
Sets the timetable with a given subject.
- setTimetable(Timetable) - Method in class at.htl.timetableGenerator.model.SchoolClass
-
Sets the timetable of the school class.
- setTimetable(HashMap<TimeSlot, Lesson>) - Method in class at.htl.timetableGenerator.model.Timetable
-
Sets the timetable.
- setWeeklySubjects(HashSet<WeeklySubject>) - Method in class at.htl.timetableGenerator.model.SchoolClass
-
Sets the list of weekly courses for this school class.
- shortName() - Method in record class at.htl.timetableGenerator.model.Subject
-
Returns the value of the
shortNamerecord component. - Subject - Record Class in at.htl.timetableGenerator.model
-
This record represents a subject with a name and a short name.
- Subject(String, String, int) - Constructor for record class at.htl.timetableGenerator.model.Subject
-
Creates an instance of a
Subjectrecord class. - SubjectFactory - Class in at.htl.timetableGenerator.factory
-
This class provides factory methods for creating Subject objects.
- SubjectFactory() - Constructor for class at.htl.timetableGenerator.factory.SubjectFactory
T
- Teacher - Class in at.htl.timetableGenerator.model
-
This class represents a teacher.
- Teacher(String, Set<Subject>, int, int) - Constructor for class at.htl.timetableGenerator.model.Teacher
-
Constructs a new Teacher with the specified name and subjects.
- TeacherConstraint - Class in at.htl.timetableGenerator.constraints.constraints
-
This class represents a teacher constraint in a timetable.
- TeacherConstraint() - Constructor for class at.htl.timetableGenerator.constraints.constraints.TeacherConstraint
- TeacherFactory - Class in at.htl.timetableGenerator.factory
-
This class provides factory methods for creating Teacher objects.
- TeacherFactory() - Constructor for class at.htl.timetableGenerator.factory.TeacherFactory
- TEACHERS - Enum constant in enum class at.htl.timetableGenerator.output.ExportData
-
Represents the teachers data type for export.
- TimeKeyword - Enum Class in at.htl.timetableGenerator.constraints
- timeKeywords() - Method in class at.htl.timetableGenerator.backend.TimetableResource
- TimeSlot - Class in at.htl.timetableGenerator.model
-
This class represents a time slot in a timetable.
- TimeSlot(DayOfWeek, int) - Constructor for class at.htl.timetableGenerator.model.TimeSlot
-
Constructs a new TimeSlot with the specified day and hour.
- Timetable - Class in at.htl.timetableGenerator.model
-
This class represents a timetable in a School.
- Timetable(int, int, int) - Constructor for class at.htl.timetableGenerator.model.Timetable
-
Constructs a new Timetable with the specified number of days per week and maximum number of hours per day.
- Timetable(int, int, Set<Constraint>, int) - Constructor for class at.htl.timetableGenerator.model.Timetable
-
Constructs a new Timetable with the specified number of days per week, maximum number of hours per day, and constraints.
- TimetablePrinter - Class in at.htl.timetableGenerator.output
-
Utility class for printing a timetable in a formatted manner.
- TimetableResource - Class in at.htl.timetableGenerator.backend
- TimetableResource() - Constructor for class at.htl.timetableGenerator.backend.TimetableResource
- TimetableResource.MultipleStringsReturnObject - Class in at.htl.timetableGenerator.backend
- toResponse(NotFoundException) - Method in class at.htl.timetableGenerator.backend.NotFoundExceptionMapper
- toString() - Method in class at.htl.timetableGenerator.model.Lesson
-
Returns a string representation of the lesson.
- toString() - Method in class at.htl.timetableGenerator.model.Room
-
Returns a string representation of the room.
- toString() - Method in class at.htl.timetableGenerator.model.SchoolClass
-
Returns a string representation of the school class.
- toString() - Method in record class at.htl.timetableGenerator.model.Subject
-
Returns a string representation of the subject.
- toString() - Method in class at.htl.timetableGenerator.model.Teacher
-
Returns a string representation of the teacher.
- toString() - Method in class at.htl.timetableGenerator.model.TimeSlot
-
Returns a string representation of this time slot.
- toString() - Method in class at.htl.timetableGenerator.model.Timetable
-
Returns a string representation of this timetable.
- toString() - Method in class at.htl.timetableGenerator.model.WeeklySubject
-
Returns a string representation of this WeeklySubjects.
U
- updateConstraints() - Method in class at.htl.timetableGenerator.model.School
-
Updates the constraints of the school.
- updateOnSuccess(Timetable, Lesson, Set<Teacher>, Map<String, Room>) - Method in class at.htl.timetableGenerator.constraints.constraints.RoomConstraint
-
Updates the state of this constraint when the check is successful.
- updateOnSuccess(Timetable, Lesson, Set<Teacher>, Map<String, Room>) - Method in class at.htl.timetableGenerator.constraints.constraints.TeacherConstraint
-
Updates the state of this constraint when the check is successful.
- updateOnSuccess(Timetable, Lesson, Set<Teacher>, Map<String, Room>) - Method in interface at.htl.timetableGenerator.constraints.Constraint
-
Updates the state of this constraint when the check is successful.
V
- valueOf(String) - Static method in enum class at.htl.timetableGenerator.constraints.DurationKeyword
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class at.htl.timetableGenerator.constraints.TimeKeyword
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class at.htl.timetableGenerator.output.ExportData
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class at.htl.timetableGenerator.output.ExportFormat
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class at.htl.timetableGenerator.constraints.DurationKeyword
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class at.htl.timetableGenerator.constraints.TimeKeyword
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class at.htl.timetableGenerator.output.ExportData
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class at.htl.timetableGenerator.output.ExportFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WeeklySubject - Class in at.htl.timetableGenerator.model
-
This class represents a subject that is taught a certain number of times per week.
- WeeklySubject(Subject, int) - Constructor for class at.htl.timetableGenerator.model.WeeklySubject
-
Constructs a new WeeklySubjects with the given subject and number of times it is taught per week.
- WeeklySubjectsFactory - Class in at.htl.timetableGenerator.factory
-
This class provides factory methods for creating WeeklySubject objects and mapping them to their respective school classes.
- WeeklySubjectsFactory() - Constructor for class at.htl.timetableGenerator.factory.WeeklySubjectsFactory
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form