public class DeterministicStudentSectioning extends DefaultStudentSectioning
StudentSectioning
and DefaultStudentSectioning for more details about sectioning students during course timetabling.
StudentSectioning.Class=net.sf.cpsolver.coursett.custom.DeterministicStudentSectioning
| Modifier and Type | Class and Description |
|---|---|
class |
DeterministicStudentSectioning.DeterministicInitialSectioning
Assign students to groups in a deterministic way, i.e., first student to first available group etc.
|
iFinalSectioning, iModel| Constructor and Description |
|---|
DeterministicStudentSectioning(TimetableModel model) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasFinalSectioning()
No re-sectioning (final sectioning) during deterministic student sectioning.
|
void |
resection(Lecture lecture,
boolean recursive,
boolean configAsWell)
No re-sectioning (final sectioning) during deterministic student sectioning.
|
protected InitialSectioning.Group[] |
studentsToConfigurations(Long offeringId,
Collection<Student> students,
Collection<Configuration> configurations)
Section students into configurations.
|
protected InitialSectioning.Group[] |
studentsToLectures(Long offeringId,
Collection<Student> students,
Collection<Lecture> lectures)
Section students into lectures.
|
void |
switchStudents(TimetableModel model)
No re-sectioning (final sectioning) during deterministic student sectioning.
|
getClassLabel, getProgress, initialSectioning, initialSectioningLecturespublic DeterministicStudentSectioning(TimetableModel model)
protected InitialSectioning.Group[] studentsToConfigurations(Long offeringId, Collection<Student> students, Collection<Configuration> configurations)
DefaultStudentSectioningInitialSectioning.getGroups().studentsToConfigurations in class DefaultStudentSectioningofferingId - instructional offering idstudents - list of students to be sectionedconfigurations - list of configurations the students are to be sectioned intoInitialSectioning.Groupprotected InitialSectioning.Group[] studentsToLectures(Long offeringId, Collection<Student> students, Collection<Lecture> lectures)
DefaultStudentSectioningInitialSectioning.getGroups().studentsToLectures in class DefaultStudentSectioningofferingId - instructional offering idstudents - list of students to be sectionedlectures - list of lectures the students are to be sectioned intoInitialSectioning.Grouppublic boolean hasFinalSectioning()
hasFinalSectioning in interface StudentSectioninghasFinalSectioning in class DefaultStudentSectioningpublic void switchStudents(TimetableModel model)
switchStudents in interface StudentSectioningswitchStudents in class DefaultStudentSectioningpublic void resection(Lecture lecture, boolean recursive, boolean configAsWell)
resection in interface StudentSectioningresection in class DefaultStudentSectioninglecture - given lecturerecursive - recursively resection lectures affected by a student swapconfigAsWell - resection students between configurations as well