Documentation ¶
Index ¶
- func DayToInt(DaySTR string, Lecturer string) int
- func ExportSchedule(schedule *model.Schedule, path string) string
- func FindFourthClassCount(courses []*model.Course) (map[string]int, []string)
- func LoadClassrooms(path string, delim rune) []*model.Classroom
- func LoadCourses(cfg *scheduler.Configuration, delim rune, ignored []string) ([]*model.Course, []*model.Laboratory, []*model.Reserved, []*model.Busy, ...)
- func PrintSchedule(schedule *model.Schedule)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExportSchedule ¶
ExportSchedule formats the schedule data into ScheduleCSVRow structs and writes it to the CSV file specified by the given path.
func FindFourthClassCount ¶
Count how many 4th class courses exist in each department
func LoadClassrooms ¶
LoadClassrooms reads and parses given csv file for classroom data.
func LoadCourses ¶
func LoadCourses(cfg *scheduler.Configuration, delim rune, ignored []string) ([]*model.Course, []*model.Laboratory, []*model.Reserved, []*model.Busy, []*model.Conflict, map[string]int, []string)
LoadCourses reads and parses given csv file for course data.
func PrintSchedule ¶
PrintSchedule prints weekly schedule grouped by department name.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.