Package | Description |
---|---|
org.cpsolver.instructor.model |
Instructor Scheduling: Model.
|
Modifier and Type | Method and Description |
---|---|
TeachingRequest |
TeachingRequest.Variable.getRequest()
Teaching request for this variable
|
Modifier and Type | Method and Description |
---|---|
List<TeachingRequest> |
InstructorSchedulingModel.getRequests()
All teaching requests
|
Modifier and Type | Method and Description |
---|---|
void |
InstructorSchedulingModel.addRequest(TeachingRequest request)
Add teaching request and the related variables
|
boolean |
Instructor.canTeach(TeachingRequest request)
Check if this instructor can teach the given request.
|
double |
TeachingRequest.countBackToBacks(TeachingRequest request,
double diffRoomWeight,
double diffTypeWeight)
Average value of the back-to-backs between this request and the given one
|
PreferenceCombination |
Instructor.getTimePreference(TeachingRequest request)
Compute time preference for a given teaching request.
|
double |
TeachingRequest.nrSameLectures(TeachingRequest request)
Count the number of common sections that the given request share with this request
|
boolean |
TeachingRequest.overlaps(TeachingRequest request)
Check if this request overlaps with the given one
|
boolean |
TeachingRequest.sameCommon(TeachingRequest request)
Check if the given request fully share the common sections with this request
|
boolean |
TeachingRequest.sameCourse(TeachingRequest request)
Check if this request and the given request are of the same course
|
int |
TeachingRequest.share(TeachingRequest request)
Count the number of (allowed) overlapping time slots between this request and the given one
|
int |
Instructor.share(TeachingRequest request)
Compute time overlaps with instructor availability
|
Copyright © 2016 UniTime LLC. All Rights Reserved.