## Uses of Class
org.cpsolver.instructor.model.TeachingAssignment

- Packages that use TeachingAssignment
  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 TeachingAssignment in org.cpsolver.instructor

    Method parameters in org.cpsolver.instructor with type arguments of type TeachingAssignment
    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 TeachingAssignment in org.cpsolver.instructor.constraints

    Methods in org.cpsolver.instructor.constraints with parameters of type TeachingAssignment
    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` | 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)`
    `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)
    `boolean` | SameInstructorConstraint.`isSatisfiedPair(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment a1, TeachingAssignment a2)` Does a pair of teaching assignments satisfy this constraint?
    `void` | SameInstructorConstraint.Context.`unassigned(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value)`
    `void` | SameLinkConstraint.Context.`unassigned(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value)`

    Method parameters in org.cpsolver.instructor.constraints with type arguments of type TeachingAssignment
    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` | InstructorConstraint.`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` | 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` | SameLinkConstraint.`computeConflicts(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)`
    `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)
    `boolean` | SameInstructorConstraint.`isSatisfiedPair(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment a1, TeachingAssignment a2)` Does a pair of teaching assignments satisfy this constraint?
    `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 TeachingAssignment
    Constructor and Description
    `Context(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment)`
    `Context(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment)`

  - ### Uses of TeachingAssignment in org.cpsolver.instructor.criteria

    Methods in org.cpsolver.instructor.criteria with parameters of type TeachingAssignment
    Modifier and Type | Method and Description
    --- | ---
    `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` | 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)`

    Method parameters in org.cpsolver.instructor.criteria with type arguments of type TeachingAssignment
    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[]` | 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
    `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[]` | SameCommon.`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[]` | SameInstructor.`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)`
    `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` | 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` | 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
    `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` | SameCommon.`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` | SameInstructor.`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` | TimeOverlaps.`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` | 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` | 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` | 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` | DifferentLecture.`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` | 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` | 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` | 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` | 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` | 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` | 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` | 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` | 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` | 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` | 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` | 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)`
    `double` | UnusedInstructorLoad.`getValue(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value, Set<TeachingAssignment> conflicts)`

  - ### Uses of TeachingAssignment in org.cpsolver.instructor.model

    Methods in org.cpsolver.instructor.model that return types with arguments of type TeachingAssignment
    Modifier and Type | Method and Description
    --- | ---
    `Set<TeachingAssignment>` | Instructor.Context.`getAssignments()` Current assignments of this instructor
    `List<TeachingAssignment>` | TeachingRequest.Variable.`values(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment)`

    Methods in org.cpsolver.instructor.model with parameters of type TeachingAssignment
    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.`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
    `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
    `int` | Instructor.`share(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value)` Compute time overlaps with instructor availability and other teaching assignments of the instructor
    `void` | Instructor.Context.`unassigned(Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, TeachingAssignment value)`
    `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)`

    Method parameters in org.cpsolver.instructor.model with type arguments of type TeachingAssignment
    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.`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)`
    `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)`

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

  - ### Uses of TeachingAssignment in org.cpsolver.instructor.test

    Method parameters in org.cpsolver.instructor.test with type arguments of type TeachingAssignment
    Modifier and Type | Method and Description
    --- | ---
    `int` | MathTest.`countDiffLinks(Set<TeachingAssignment> assignments)`
    `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)`