## Uses of Class
org.cpsolver.instructor.model.TeachingRequest.Variable

- Packages that use TeachingRequest.Variable
  Package | Description
  --- | ---
  org.cpsolver.instructor | Instructor Scheduling.
  org.cpsolver.instructor.constraints | Instructor Scheduling: Constraints.
  org.cpsolver.instructor.criteria | Instructor Scheduling: Criteria.
  org.cpsolver.instructor.model | Instructor Scheduling: Model.
  org.cpsolver.instructor.test | Instructor Scheduling: Tests.

- - ### Uses of TeachingRequest.Variable in org.cpsolver.instructor

    Method parameters in org.cpsolver.instructor with type arguments of type TeachingRequest.Variable
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | Test.`generateReports(File outputDir, Assignment<TeachingRequest.Variable,TeachingAssignment> assignment)` Generate a few reports
    `protected boolean` | Test.`load(File inputFile, Assignment<TeachingRequest.Variable,TeachingAssignment> assignment)` Load input problem
    `protected void` | Test.`save(File outputDir, Assignment<TeachingRequest.Variable,TeachingAssignment> assignment)` Save the problem and the resulting assignment

  - ### Uses of TeachingRequest.Variable in org.cpsolver.instructor.constraints

    Methods in org.cpsolver.instructor.constraints with parameters of type TeachingRequest.Variable
    Modifier and Type | Method and Description
    --- | ---
    `protected static List<GroupConstraint.Block>` | GroupConstraint.`getBlocks(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Instructor instructor, int dayCode, Set<TeachingAssignment> conflicts, TeachingRequest.Variable variable, TeachingAssignment value, BitSet week, int maxBreakBetweenBTB)` Return blocks for an instructor, meeting the provided parameters.
    `protected static Set<org.cpsolver.instructor.constraints.GroupConstraint.TeachingAssignmentSection>` | GroupConstraint.`getRelevantPlacements(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Instructor instructor, int dayCode, Set<TeachingAssignment> conflicts, TeachingRequest.Variable variable, TeachingAssignment value, BitSet week)` Return teaching assignment + section combinations for the given instructor, considering the selected value and the provided conflicts.

    Method parameters in org.cpsolver.instructor.constraints with type arguments of type TeachingRequest.Variable
    Modifier and Type | Method and Description
    --- | ---
    `void` | SameInstructorConstraint.Context.`assigned(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value)`
    `void` | SameLinkConstraint.Context.`assigned(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value)`
    `void` | GroupConstraint.`computeConflicts(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value, Set<TeachingAssignment> conflicts)`
    `void` | InstructorConstraint.`computeConflicts(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value, Set<TeachingAssignment> conflicts)`
    `void` | SameInstructorConstraint.`computeConflicts(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value, Set<TeachingAssignment> conflicts)`
    `void` | SameLinkConstraint.`computeConflicts(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value, Set<TeachingAssignment> conflicts)`
    `void` | GroupConstraint.Check.`computeConflicts(GroupConstraint.Distribution distribution, Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value, Set<TeachingAssignment> conflicts)`
    `void` | GroupConstraint.PairCheck.`computeConflicts(GroupConstraint.Distribution distribution, Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value, Set<TeachingAssignment> conflicts)`
    `void` | GroupConstraint.ParametrizedConstraintType.`computeConflicts(GroupConstraint.Distribution distribution, Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value, Set<TeachingAssignment> conflicts)`
    `void` | GroupConstraint.ConstraintType.`computeConflicts(GroupConstraint.Distribution distribution, Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value, Set<TeachingAssignment> conflicts)`
    `SameInstructorConstraint.Context` | SameInstructorConstraint.`createAssignmentContext(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment)`
    `SameLinkConstraint.Context` | SameLinkConstraint.`createAssignmentContext(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment)`
    `protected static List<GroupConstraint.Block>` | GroupConstraint.`getBlocks(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Instructor instructor, int dayCode, Set<TeachingAssignment> conflicts, TeachingRequest.Variable variable, TeachingAssignment value, BitSet week, int maxBreakBetweenBTB)` Return blocks for an instructor, meeting the provided parameters.
    `int` | SameInstructorConstraint.`getCurrentPreference(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment)` Current constraint preference (if soft)
    `int` | SameLinkConstraint.`getCurrentPreference(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment)` Current constraint preference (if soft)
    `int` | SameInstructorConstraint.`getCurrentPreference(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value)` Current constraint preference (if soft)
    `int` | SameLinkConstraint.`getCurrentPreference(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value)` Current constraint preference (if soft)
    `protected static Set<org.cpsolver.instructor.constraints.GroupConstraint.TeachingAssignmentSection>` | GroupConstraint.`getRelevantPlacements(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Instructor instructor, int dayCode, Set<TeachingAssignment> conflicts, TeachingRequest.Variable variable, TeachingAssignment value, BitSet week)` Return teaching assignment + section combinations for the given instructor, considering the selected value and the provided conflicts.
    `double` | GroupConstraint.Check.`getValue(GroupConstraint.Distribution distribution, Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Instructor instructor, TeachingAssignment value)`
    `double` | GroupConstraint.PairCheck.`getValue(GroupConstraint.Distribution distribution, Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Instructor instructor, TeachingAssignment value)`
    `double` | GroupConstraint.ParametrizedConstraintType.`getValue(GroupConstraint.Distribution distribution, Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Instructor instructor, TeachingAssignment value)`
    `double` | GroupConstraint.ConstraintType.`getValue(GroupConstraint.Distribution distribution, Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Instructor instructor, TeachingAssignment value)`
    `abstract boolean` | GroupConstraint.PairCheck.`isSatisfied(GroupConstraint.Distribution distribution, Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Instructor instructor, Section s1, Section s2)`
    `boolean` | GroupConstraint.SimpleCheck.`isSatisfied(GroupConstraint.Distribution distribution, Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Instructor instructor, Section s1, Section s2)`
    `boolean` | SameInstructorConstraint.`isSatisfiedPair(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment a1, TeachingAssignment a2)` Does a pair of teaching assignments satisfy this constraint?
    `abstract boolean` | GroupConstraint.PairCheck.`isViolated(GroupConstraint.Distribution distribution, Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Instructor instructor, Section s1, Section s2)`
    `boolean` | GroupConstraint.SimpleCheck.`isViolated(GroupConstraint.Distribution distribution, Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Instructor instructor, Section s1, Section s2)`
    `void` | SameInstructorConstraint.Context.`unassigned(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value)`
    `void` | SameLinkConstraint.Context.`unassigned(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value)`

    Constructor parameters in org.cpsolver.instructor.constraints with type arguments of type TeachingRequest.Variable
    Constructor and Description
    `Context(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment)`
    `Context(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment)`

  - ### Uses of TeachingRequest.Variable in org.cpsolver.instructor.criteria

    Method parameters in org.cpsolver.instructor.criteria with type arguments of type TeachingRequest.Variable
    Modifier and Type | Method and Description
    --- | ---
    `protected double[]` | BackToBack.`computeBounds(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment)`
    `protected double[]` | DifferentLecture.`computeBounds(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment)`
    `protected double[]` | Distributions.`computeBounds(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment)`
    `protected double[]` | SameDays.`computeBounds(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment)`
    `protected double[]` | SameInstructor.`computeBounds(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment)`
    `protected double[]` | SameLink.`computeBounds(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment)`
    `protected double[]` | SameRoom.`computeBounds(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment)`
    `Set<Instructor>` | InstructorSchedulingCriterion.`getAssignedInstructors(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)` Assigned instructors of a sub-problem
    `Set<Instructor>` | InstructorSchedulingCriterion.`getAssignedInstructors(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)` Assigned instructors of a sub-problem
    `double[]` | BackToBack.`getBounds(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double[]` | BackToBack.`getBounds(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double[]` | DifferentLecture.`getBounds(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double[]` | DifferentLecture.`getBounds(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double[]` | Distributions.`getBounds(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double[]` | Distributions.`getBounds(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double[]` | SameCommon.`getBounds(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double[]` | SameCommon.`getBounds(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double[]` | SameCourse.`getBounds(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double[]` | SameCourse.`getBounds(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double[]` | SameDays.`getBounds(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double[]` | SameDays.`getBounds(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double[]` | SameInstructor.`getBounds(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double[]` | SameInstructor.`getBounds(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double[]` | SameLink.`getBounds(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double[]` | SameLink.`getBounds(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double[]` | SameRoom.`getBounds(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double[]` | SameRoom.`getBounds(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `void` | DifferentLecture.`getInfo(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Map<String,String> info)`
    `void` | InstructorSchedulingCriterion.`getInfo(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Map<String,String> info)`
    `void` | OriginalInstructor.`getInfo(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Map<String,String> info)`
    `void` | TimeOverlaps.`getInfo(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Map<String,String> info)`
    `void` | DifferentLecture.`getInfo(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Map<String,String> info, Collection<TeachingRequest.Variable> variables)`
    `void` | DifferentLecture.`getInfo(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Map<String,String> info, Collection<TeachingRequest.Variable> variables)`
    `void` | InstructorSchedulingCriterion.`getInfo(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Map<String,String> info, Collection<TeachingRequest.Variable> variables)`
    `void` | InstructorSchedulingCriterion.`getInfo(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Map<String,String> info, Collection<TeachingRequest.Variable> variables)`
    `void` | OriginalInstructor.`getInfo(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Map<String,String> info, Collection<TeachingRequest.Variable> variables)`
    `void` | OriginalInstructor.`getInfo(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Map<String,String> info, Collection<TeachingRequest.Variable> variables)`
    `void` | TimeOverlaps.`getInfo(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Map<String,String> info, Collection<TeachingRequest.Variable> variables)`
    `void` | TimeOverlaps.`getInfo(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Map<String,String> info, Collection<TeachingRequest.Variable> variables)`
    `Set<Instructor>` | InstructorSchedulingCriterion.`getInstructors(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)` Instructor of a sub-problem
    `Set<Instructor>` | InstructorSchedulingCriterion.`getInstructors(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)` Instructor of a sub-problem
    `double` | BackToBack.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double` | BackToBack.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double` | DifferentLecture.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double` | DifferentLecture.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double` | Distributions.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double` | Distributions.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double` | SameCommon.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double` | SameCommon.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double` | SameCourse.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double` | SameCourse.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double` | SameDays.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double` | SameDays.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double` | SameInstructor.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double` | SameInstructor.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double` | SameLink.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double` | SameLink.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double` | SameRoom.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double` | SameRoom.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double` | TimeOverlaps.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double` | TimeOverlaps.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double` | UnusedInstructorLoad.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double` | UnusedInstructorLoad.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double` | AttributePreferences.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value, Set<TeachingAssignment> conflicts)`
    `double` | BackToBack.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value, Set<TeachingAssignment> conflicts)`
    `double` | CoursePreferences.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value, Set<TeachingAssignment> conflicts)`
    `double` | DifferentLecture.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value, Set<TeachingAssignment> conflicts)`
    `double` | Distributions.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value, Set<TeachingAssignment> conflicts)`
    `double` | InstructorPreferences.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value, Set<TeachingAssignment> conflicts)`
    `double` | OriginalInstructor.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value, Set<TeachingAssignment> conflicts)`
    `double` | SameCommon.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value, Set<TeachingAssignment> conflicts)`
    `double` | SameCourse.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value, Set<TeachingAssignment> conflicts)`
    `double` | SameDays.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value, Set<TeachingAssignment> conflicts)`
    `double` | SameInstructor.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value, Set<TeachingAssignment> conflicts)`
    `double` | SameLink.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value, Set<TeachingAssignment> conflicts)`
    `double` | SameRoom.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value, Set<TeachingAssignment> conflicts)`
    `double` | TeachingPreferences.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value, Set<TeachingAssignment> conflicts)`
    `double` | TimeOverlaps.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value, Set<TeachingAssignment> conflicts)`
    `double` | TimePreferences.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value, Set<TeachingAssignment> conflicts)`
    `double` | UnusedInstructorLoad.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value, Set<TeachingAssignment> conflicts)`

  - ### Uses of TeachingRequest.Variable in org.cpsolver.instructor.model

    Methods in org.cpsolver.instructor.model that return TeachingRequest.Variable
    Modifier and Type | Method and Description
    --- | ---
    `TeachingRequest.Variable` | TeachingRequest.`getVariable(int index)` Get single instructor assignment variable
    `TeachingRequest.Variable[]` | TeachingRequest.`getVariables()` Get single instructor assignment variables

    Method parameters in org.cpsolver.instructor.model with type arguments of type TeachingRequest.Variable
    Modifier and Type | Method and Description
    --- | ---
    `void` | Instructor.Context.`assigned(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value)`
    `double` | Instructor.`countBackToBacks(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value, double diffRoomWeight, double diffTypeWeight)` Compute number of back-to-back assignments (weighted by the preference) of the given teaching assignment and the other assignments of the instructor
    `double` | Instructor.Context.`countDistributions(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment)` Compute distributions penalty between all classes assigned to this instructor
    `double` | Instructor.`countSameDays(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value, double diffRoomWeight, double diffTypeWeight)` Compute number of same days assignments (weighted by the preference) of the given teaching assignment and the other assignments of the instructor
    `double` | Instructor.`countSameRooms(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value, double diffTypeWeight)` Compute number of same room assignments (weighted by the preference) of the given teaching assignment and the other assignments of the instructor
    `Instructor.Context` | Instructor.`createAssignmentContext(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment)`
    `double` | Instructor.`differentLectures(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value)` Compute different common sections of the given teaching assignment and the other assignments of the instructor
    `Map<String,String>` | InstructorSchedulingModel.`getInfo(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment)`
    `double` | InstructorSchedulingModel.`getTotalValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment)`
    `double` | InstructorSchedulingModel.`getTotalValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `double` | InstructorSchedulingModel.`getTotalValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Collection<TeachingRequest.Variable> variables)`
    `Instructor.Context` | Instructor.`inheritAssignmentContext(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Instructor.Context parentContext)`
    `boolean` | InstructorSchedulingModel.`load(Document document, Assignment<TeachingRequest.Variable,TeachingAssignment> assignment)` Load the problem (and its solution) from an XML format
    `Document` | InstructorSchedulingModel.`save(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment)` Store the problem (together with its solution) in an XML format
    `int` | Instructor.`share(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value)` Compute time overlaps with instructor availability and other teaching assignments of the instructor
    `double` | TeachingAssignment.`toDouble(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment)`
    `void` | Instructor.Context.`unassigned(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value)`
    `List<TeachingAssignment>` | TeachingRequest.Variable.`values(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment)`
    `void` | TeachingRequest.Variable.`variableAssigned(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, long iteration, TeachingAssignment ta)`
    `void` | TeachingRequest.Variable.`variableUnassigned(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, long iteration, TeachingAssignment ta)`

    Constructors in org.cpsolver.instructor.model with parameters of type TeachingRequest.Variable
    Constructor and Description
    `TeachingAssignment(TeachingRequest.Variable variable, Instructor instructor)` Constructor
    `TeachingAssignment(TeachingRequest.Variable variable, Instructor instructor, int attributePreference)` Constructor

    Constructor parameters in org.cpsolver.instructor.model with type arguments of type TeachingRequest.Variable
    Constructor and Description
    `Context(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment)` Constructor
    `Context(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Instructor.Context parentContext)` Constructor

  - ### Uses of TeachingRequest.Variable in org.cpsolver.instructor.test

    Methods in org.cpsolver.instructor.test with parameters of type TeachingRequest.Variable
    Modifier and Type | Method and Description
    --- | ---
    `Long` | MathTest.`getAssignmentId(TeachingRequest.Variable request)`
    `String` | MathTest.`getLink(TeachingRequest.Variable request)`
    `String` | MathTest.`toString(TeachingRequest.Variable request)`

    Method parameters in org.cpsolver.instructor.test with type arguments of type TeachingRequest.Variable
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | ChmTest.`generateReports(File dir, Assignment<TeachingRequest.Variable,TeachingAssignment> assignment)`
    `protected void` | MathTest.`generateReports(File dir, Assignment<TeachingRequest.Variable,TeachingAssignment> assignment)`
    `protected boolean` | MathTest.`load(File dir, Assignment<TeachingRequest.Variable,TeachingAssignment> assignment)`