## Uses of Class
org.cpsolver.coursett.constraint.InstructorConstraint

- Packages that use InstructorConstraint
  Package | Description
  --- | ---
  org.cpsolver.coursett.constraint | University Course Timetabling: Constraints.
  org.cpsolver.coursett.criteria.additional | University Course Timetabling: Additional (Experimental) Criteria.
  org.cpsolver.coursett.model | University Course Timetabling: Model.

- - ### Uses of InstructorConstraint in org.cpsolver.coursett.constraint

    Subclasses of InstructorConstraint in org.cpsolver.coursett.constraint
    Modifier and Type | Class and Description
    --- | ---
    `class` | `SoftInstructorConstraint` Soft version of the instructor constraint.

  - ### Uses of InstructorConstraint in org.cpsolver.coursett.criteria.additional

    Methods in org.cpsolver.coursett.criteria.additional with parameters of type InstructorConstraint
    Modifier and Type | Method and Description
    --- | ---
    `double` | InstructorLunchBreak.InstructorLunchBreakContext.`computeLunchPenalty(Assignment<Lecture,Placement> assignment, InstructorConstraint constraint)` Method computes number of violations in days (Mo, Tue, Wed,..) considering each week in the semester separately.
    `protected InstructorLunchBreak.CompactInfo` | InstructorLunchBreak.InstructorLunchBreakContext.`getCompactInfo(InstructorConstraint constraint)` Get compact info that is associated with an instructor constraint.
    `void` | InstructorLunchBreak.InstructorLunchBreakContext.`updateCriterion(Assignment<Lecture,Placement> assignment, InstructorConstraint instructorConstraint, Placement placement)` Method checks or sets the CompactInfo of an InstructorConstraint.
    `void` | InstructorLunchBreak.InstructorLunchBreakContext.`updateLunchPenalty(Assignment<Lecture,Placement> assignment, InstructorConstraint constraint, Placement p)` Method updates number of violations in days (Mo, Tue, Wed,..) considering each week in the semester separately.

    Method parameters in org.cpsolver.coursett.criteria.additional with type arguments of type InstructorConstraint
    Modifier and Type | Method and Description
    --- | ---
    `double` | InstructorFairness.InstructorFairnessContext.`getDiffInstrValue(List<InstructorConstraint> instructorsList, double placementValue)` Method estimates value of placement for instructors in entry list
    `double` | InstructorFairness.InstructorFairnessContext.`getObjectiveValue(Collection<InstructorConstraint> instructors)` Fairness value based on pdev (pdev sec. part) of instructors

  - ### Uses of InstructorConstraint in org.cpsolver.coursett.model

    Methods in org.cpsolver.coursett.model that return InstructorConstraint
    Modifier and Type | Method and Description
    --- | ---
    `InstructorConstraint` | Student.`getInstructor()`

    Methods in org.cpsolver.coursett.model that return types with arguments of type InstructorConstraint
    Modifier and Type | Method and Description
    --- | ---
    `List<InstructorConstraint>` | Lecture.`getInstructorConstraints()` Instructor constraint
    `List<InstructorConstraint>` | TimetableModel.`getInstructorConstraints()` The list of all instructor constraints

    Methods in org.cpsolver.coursett.model with parameters of type InstructorConstraint
    Modifier and Type | Method and Description
    --- | ---
    `void` | Student.`setInstructor(InstructorConstraint instructor)`