Package | Description |
---|---|
net.sf.cpsolver.coursett.constraint |
University Course Timetabling: Constraints.
|
net.sf.cpsolver.coursett.model |
University Course Timetabling: Model.
|
net.sf.cpsolver.studentsct |
Student Sectioning Solver.
|
net.sf.cpsolver.studentsct.model |
Student Sectioning: Model.
|
Modifier and Type | Method and Description |
---|---|
boolean |
InstructorConstraint.isAvailable(Lecture lecture,
TimeLocation time) |
boolean |
RoomConstraint.isAvailable(Lecture lecture,
TimeLocation time,
Long scheduler) |
Modifier and Type | Method and Description |
---|---|
TimeLocation |
Placement.getTimeLocation()
Time location
|
Modifier and Type | Method and Description |
---|---|
List<TimeLocation> |
Lecture.timeLocations()
All time locations
|
Modifier and Type | Method and Description |
---|---|
boolean |
TimeLocation.hasIntersection(TimeLocation anotherLocation)
true if overlap
|
boolean |
RoomSharingModel.isAvailable(TimeLocation timeLocation,
Long departmentId) |
int |
TimeLocation.nrSharedDays(TimeLocation anotherLocation)
number of overlapping days
|
int |
TimeLocation.nrSharedHours(TimeLocation anotherLocation)
number of overlapping time slots (ignoring days)
|
int |
Lecture.nrValues(TimeLocation time) |
boolean |
TimeLocation.shareDays(TimeLocation anotherLocation)
true if days overlap
|
boolean |
TimeLocation.shareHours(TimeLocation anotherLocation)
true if hours overlap
|
boolean |
TimeLocation.shareWeeks(TimeLocation anotherLocation)
true if weeks overlap
|
Constructor and Description |
---|
Placement(Lecture lecture,
TimeLocation timeLocation,
List<RoomLocation> roomLocations) |
Placement(Lecture lecture,
TimeLocation timeLocation,
RoomLocation roomLocation)
Constructor
|
Constructor and Description |
---|
Lecture(Long id,
Long solverGroupId,
Long schedulingSubpartId,
String name,
List<TimeLocation> timeLocations,
List<RoomLocation> roomLocations,
int nrRooms,
Placement initialPlacement,
int minClassLimit,
int maxClassLimit,
double room2limitRatio)
Constructor
|
Modifier and Type | Method and Description |
---|---|
double |
StudentPreferencePenalties.getPenalty(TimeLocation time)
Return penalty of the given time.
|
Modifier and Type | Method and Description |
---|---|
TimeLocation |
Assignment.getTime()
Time assignment
|
TimeLocation |
Choice.getTime()
Time location of the choice
|
TimeLocation |
FreeTimeRequest.getTime()
Return requested time to be free
|
TimeLocation |
Section.getTime()
Time placement of the section.
|
Modifier and Type | Method and Description |
---|---|
int |
Student.countFreeTimeOverlaps(TimeLocation time)
Count number of free time slots overlapping with the given time
|
Constructor and Description |
---|
Choice(Offering offering,
String instructionalType,
TimeLocation time,
String instructorIds,
String instructorNames)
Constructor
|
FreeTimeRequest(long id,
int priority,
boolean alternative,
Student student,
TimeLocation time)
Constructor
|