## Uses of Class
net.sf.cpsolver.studentsct.model.Section

- Packages that use Section
  Package | Description
  --- | ---
  net.sf.cpsolver.studentsct | Student Sectioning Solver.
  net.sf.cpsolver.studentsct.constraint | Student Sectioning: Constraints.
  net.sf.cpsolver.studentsct.extension | Student Sectioning: Various Extensions.
  net.sf.cpsolver.studentsct.model | Student Sectioning: Model.
  net.sf.cpsolver.studentsct.report | Student Sectioning: Various Reports.
  net.sf.cpsolver.studentsct.reservation | Student Sectioning: Reservations.

- - ### Uses of Section in net.sf.cpsolver.studentsct

    Methods in net.sf.cpsolver.studentsct that return Section
    Modifier and Type | Method and Description
    --- | ---
    `protected Section` | StudentSectioningXMLLoader.`loadSection(Element sectionEl, Subpart subpart, Map<Long,Section> sectionTable, Map<Long,Placement> timetable)` Load section

    Methods in net.sf.cpsolver.studentsct with parameters of type Section
    Modifier and Type | Method and Description
    --- | ---
    `void` | StudentSectioningModel.`addLinkedSections(Section... sections)` Link sections using `LinkedSections`
    `protected void` | StudentSectioningXMLSaver.`saveSection(Element sectionEl, Section section)` Save section

    Method parameters in net.sf.cpsolver.studentsct with type arguments of type Section
    Modifier and Type | Method and Description
    --- | ---
    `void` | StudentSectioningModel.`addLinkedSections(Collection<Section> sections)` Link sections using `LinkedSections`
    `protected Config` | StudentSectioningXMLLoader.`loadConfig(Element configEl, Offering offering, Map<Long,Subpart> subpartTable, Map<Long,Section> sectionTable, Map<Long,Placement> timetable)` Load config
    `protected Reservation` | StudentSectioningXMLLoader.`loadReservation(Element reservationEl, Offering offering, HashMap<Long,Config> configTable, HashMap<Long,Section> sectionTable)` Load reservation
    `protected Section` | StudentSectioningXMLLoader.`loadSection(Element sectionEl, Subpart subpart, Map<Long,Section> sectionTable, Map<Long,Placement> timetable)` Load section
    `protected Subpart` | StudentSectioningXMLLoader.`loadSubpart(Element subpartEl, Config config, Map<Long,Subpart> subpartTable, Map<Long,Section> sectionTable, Map<Long,Placement> timetable)` Load subpart

  - ### Uses of Section in net.sf.cpsolver.studentsct.constraint

    Methods in net.sf.cpsolver.studentsct.constraint that return types with arguments of type Section
    Modifier and Type | Method and Description
    --- | ---
    `Set<Section>` | LinkedSections.`getSections(Subpart subpart)` Return section (or sections) of a subpart of this link

    Methods in net.sf.cpsolver.studentsct.constraint with parameters of type Section
    Modifier and Type | Method and Description
    --- | ---
    `static double` | SectionLimit.`getEnrollmentWeight(Section section, Request request)` Enrollment weight of a section if the given request is assigned.
    `static double` | SectionLimit.`getUnreservedSpace(Section section, Request request)` Remaining unreserved space in a section if the given request is assigned.

    Constructors in net.sf.cpsolver.studentsct.constraint with parameters of type Section
    Constructor and Description
    `LinkedSections(Section... sections)` Constructor

    Constructor parameters in net.sf.cpsolver.studentsct.constraint with type arguments of type Section
    Constructor and Description
    `LinkedSections(Collection<Section> sections)` Constructor

  - ### Uses of Section in net.sf.cpsolver.studentsct.extension

    Methods in net.sf.cpsolver.studentsct.extension that return Section
    Modifier and Type | Method and Description
    --- | ---
    `Section` | DistanceConflict.Conflict.`getS1()` First section
    `Section` | DistanceConflict.Conflict.`getS2()` Second section

    Methods in net.sf.cpsolver.studentsct.extension with parameters of type Section
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | DistanceConflict.`inConflict(Section s1, Section s2)` Return true if the given two sections are in distance conflict.

    Constructors in net.sf.cpsolver.studentsct.extension with parameters of type Section
    Constructor and Description
    `Conflict(Student student, Enrollment e1, Section s1, Enrollment e2, Section s2)` Constructor

  - ### Uses of Section in net.sf.cpsolver.studentsct.model

    Methods in net.sf.cpsolver.studentsct.model that return Section
    Modifier and Type | Method and Description
    --- | ---
    `Section` | Section.`getParent()` Parent section of this section (can be null).
    `Section` | CourseRequest.`getSection(long sectionId)` Return section of the requested courses with the given id
    `Section` | Offering.`getSection(long sectionId)` Return section of the given id, if it is part of one of this offering configurations.

    Methods in net.sf.cpsolver.studentsct.model that return types with arguments of type Section
    Modifier and Type | Method and Description
    --- | ---
    `Set<Section>` | Choice.`getParentSections()` List of parent sections of sections of the instructional offering which represent this choice.
    `Set<Section>` | Choice.`getSections()` List of sections of the instructional offering which represent this choice.
    `Set<Section>` | Enrollment.`getSections()` List of sections (only for course request)
    `List<Section>` | Subpart.`getSections()` List of sections

    Methods in net.sf.cpsolver.studentsct.model with parameters of type Section
    Modifier and Type | Method and Description
    --- | ---
    `int` | Section.`compareTo(Section s)` Compare two sections, prefer sections with lower penalty and more open space
    `boolean` | CourseRequest.`isSelected(Section section)` Return true when the given section is selected (i.e., its choice is among selected choices)
    `boolean` | CourseRequest.`isWaitlisted(Section section)` Return true when the given section is wait-listed (i.e., its choice is among wait-listed choices)

    Constructors in net.sf.cpsolver.studentsct.model with parameters of type Section
    Constructor and Description
    `Section(long id, int limit, String name, Subpart subpart, Placement placement, String instructorIds, String instructorNames, Section parent)` Constructor

  - ### Uses of Section in net.sf.cpsolver.studentsct.report

    Methods in net.sf.cpsolver.studentsct.report that return Section
    Modifier and Type | Method and Description
    --- | ---
    `Section` | CourseSection.`getSection()` Class

    Constructors in net.sf.cpsolver.studentsct.report with parameters of type Section
    Constructor and Description
    `CourseSection(Course course, Section section)` Constructor

  - ### Uses of Section in net.sf.cpsolver.studentsct.reservation

    Methods in net.sf.cpsolver.studentsct.reservation that return types with arguments of type Section
    Modifier and Type | Method and Description
    --- | ---
    `Map<Subpart,Set<Section>>` | Reservation.`getSections()` One or more sections on which the reservation is set (optional).
    `Set<Section>` | Reservation.`getSections(Subpart subpart)` One or more sections on which the reservation is set (optional).

    Methods in net.sf.cpsolver.studentsct.reservation with parameters of type Section
    Modifier and Type | Method and Description
    --- | ---
    `void` | Reservation.`addSection(Section section)` Add a section (of the offering `Reservation.getOffering()`) to this reservation.