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, initialSectioningLectures
public DeterministicStudentSectioning(TimetableModel model)
protected InitialSectioning.Group[] studentsToConfigurations(Long offeringId, Collection<Student> students, Collection<Configuration> configurations)
DefaultStudentSectioning
InitialSectioning.getGroups()
.studentsToConfigurations
in class DefaultStudentSectioning
offeringId
- instructional offering idstudents
- list of students to be sectionedconfigurations
- list of configurations the students are to be sectioned intoInitialSectioning.Group
protected InitialSectioning.Group[] studentsToLectures(Long offeringId, Collection<Student> students, Collection<Lecture> lectures)
DefaultStudentSectioning
InitialSectioning.getGroups()
.studentsToLectures
in class DefaultStudentSectioning
offeringId
- instructional offering idstudents
- list of students to be sectionedlectures
- list of lectures the students are to be sectioned intoInitialSectioning.Group
public boolean hasFinalSectioning()
hasFinalSectioning
in interface StudentSectioning
hasFinalSectioning
in class DefaultStudentSectioning
public void switchStudents(TimetableModel model)
switchStudents
in interface StudentSectioning
switchStudents
in class DefaultStudentSectioning
public void resection(Lecture lecture, boolean recursive, boolean configAsWell)
resection
in interface StudentSectioning
resection
in class DefaultStudentSectioning
lecture
- given lecturerecursive
- recursively resection lectures affected by a student swapconfigAsWell
- resection students between configurations as well