## Uses of Class
org.cpsolver.studentsct.extension.StudentQuality.Context

- Packages that use StudentQuality.Context
  Package | Description
  --- | ---
  org.cpsolver.studentsct.extension | Student Sectioning: Various Extensions.

- - ### Uses of StudentQuality.Context in org.cpsolver.studentsct.extension

    Methods in org.cpsolver.studentsct.extension that return StudentQuality.Context
    Modifier and Type | Method and Description
    --- | ---
    `StudentQuality.Context` | StudentQuality.`getStudentQualityContext()` Student quality context

    Methods in org.cpsolver.studentsct.extension with parameters of type StudentQuality.Context
    Modifier and Type | Method and Description
    --- | ---
    `double` | StudentQuality.Type.`getWeight(StudentQuality.Context cx, StudentQuality.Conflict c, Enrollment e)`
    `double` | StudentQuality.Quality.`getWeight(StudentQuality.Context cx, StudentQuality.Conflict c, Enrollment e)` Base weight of the given conflict and enrollment.
    `boolean` | StudentQuality.Type.`inConflict(StudentQuality.Context cx, SctAssignment a1, SctAssignment a2)`
    `boolean` | StudentQuality.Quality.`inConflict(StudentQuality.Context cx, SctAssignment a1, SctAssignment a2)` When applicable, is there a conflict between two sections
    `boolean` | StudentQuality.Type.`isApplicable(StudentQuality.Context cx, Student student, Request r1, Request r2)`
    `boolean` | StudentQuality.Quality.`isApplicable(StudentQuality.Context cx, Student student, Request r1, Request r2)` Check if the metric is applicable for the given student, between the given two requests
    `Iterable<? extends SctAssignment>` | StudentQuality.Type.`other(StudentQuality.Context cx, Enrollment e)`
    `Iterable<? extends SctAssignment>` | StudentQuality.Quality.`other(StudentQuality.Context cx, Enrollment e)` Enumerate other section assignments applicable for the given enrollment (e.g., student unavailabilities)
    `int` | StudentQuality.Type.`penalty(StudentQuality.Context cx, Student s, SctAssignment a1, SctAssignment a2)`
    `int` | StudentQuality.Quality.`penalty(StudentQuality.Context cx, Student s, SctAssignment a1, SctAssignment a2)` When in conflict, what is the penalisation