Documentation ¶
Index ¶
- type Schedule
- type Scheduler
- func (s *Scheduler) AssignStudentsToSections()
- func (s *Scheduler) ClearSections()
- func (s *Scheduler) CourseNameToSectionToSlice() []*imp.Section
- func (s *Scheduler) ExtractByGradeAndShuffle()
- func (s *Scheduler) FindFirstAvailableSectionForStudent(student *imp.Student, timeSlot string) *imp.Section
- func (s *Scheduler) GetFirstAvailableSectionWithoutRequest(timeSlot string) *imp.Section
- func (s *Scheduler) Run(numIterations int) *Schedule
- func (s *Scheduler) ScoreSchedule() float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scheduler ¶
type Scheduler struct { DataLoader *data.DataLoader CourseNameToSection map[string]*imp.Section BestSchedule *Schedule }
func NewScheduler ¶
func NewScheduler() *Scheduler
func (*Scheduler) AssignStudentsToSections ¶
func (s *Scheduler) AssignStudentsToSections()
func (*Scheduler) ClearSections ¶
func (s *Scheduler) ClearSections()
func (*Scheduler) CourseNameToSectionToSlice ¶
func (*Scheduler) ExtractByGradeAndShuffle ¶
func (s *Scheduler) ExtractByGradeAndShuffle()
func (*Scheduler) FindFirstAvailableSectionForStudent ¶
func (*Scheduler) GetFirstAvailableSectionWithoutRequest ¶
func (*Scheduler) ScoreSchedule ¶
Click to show internal directories.
Click to hide internal directories.