Package | Description |
---|---|
org.cpsolver.coursett.constraint |
University Course Timetabling: Constraints.
|
org.cpsolver.coursett.model |
University Course Timetabling: Model.
|
org.cpsolver.instructor.model |
Instructor Scheduling: Model.
|
org.cpsolver.studentsct |
Student Sectioning Solver.
|
org.cpsolver.studentsct.model |
Student Sectioning: Model.
|
org.cpsolver.studentsct.online.selection |
Online Student Sectioning Solver: Selection Weights and Heuristics.
|
Modifier and Type | Method and Description |
---|---|
protected int |
MaxHalfDaysFlexibleConstraint.getHalfDay(TimeLocation time)
Returns index of the half day
|
boolean |
RoomConstraint.RoomConstraintContext.inConflict(Lecture lecture,
TimeLocation time) |
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 | Class and Description |
---|---|
class |
EnrolledClass
Enrolled class to be used as an instructor unavailability.
|
Modifier and Type | Method and Description |
---|---|
TimeLocation |
Section.getTime()
Section time that was provided in the constructor
|
Modifier and Type | Method and Description |
---|---|
List<Preference<TimeLocation>> |
Instructor.getTimePreferences()
Return instructor preferences
|
Modifier and Type | Method and Description |
---|---|
PreferenceCombination |
Instructor.getTimePreference(TimeLocation time)
Compute time preference for a given time.
|
int |
Section.share(TimeLocation time)
Compute the number of overlapping time slots between this section and the given time
|
int |
TeachingRequest.share(TimeLocation time)
Count the number of overlapping time slots between this request and the given time
|
Modifier and Type | Method and Description |
---|---|
void |
Instructor.addTimePreference(Preference<TimeLocation> pref)
Add instructor time preference
|
Constructor and Description |
---|
Section(long id,
String externalId,
String type,
String name,
TimeLocation time,
String room,
boolean allowOverlap,
boolean common)
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 |
Choice.getTime()
Time location of the choice
|
TimeLocation |
FreeTimeRequest.getTime()
Return requested time to be free
|
TimeLocation |
SctAssignment.getTime()
Time assignment
|
TimeLocation |
Section.getTime()
Time placement of the section.
|
TimeLocation |
Unavailability.getTime() |
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 |
---|
FreeTimeRequest(long id,
int priority,
boolean alternative,
Student student,
TimeLocation time)
Constructor
|
Choice(Offering offering,
String instructionalType,
TimeLocation time,
List<Instructor> instructors)
Constructor
|
Choice(Offering offering,
String instructionalType,
TimeLocation time,
String instructorIds,
String instructorNames)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
double |
OnlineSectioningCriterion.TimeToAvoid.overlap(TimeLocation time) |
static boolean |
ResectioningWeights.sameTime(Section s,
TimeLocation t) |
Constructor and Description |
---|
TimeToAvoid(TimeLocation time,
int penalty,
int priority) |