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

- Packages that use Subpart
  Package | Description
  --- | ---
  net.sf.cpsolver.studentsct | Student Sectioning Solver.
  net.sf.cpsolver.studentsct.constraint | Student Sectioning: Constraints.
  net.sf.cpsolver.studentsct.model | Student Sectioning: Model.
  net.sf.cpsolver.studentsct.reservation | Student Sectioning: Reservations.

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

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

    Methods in net.sf.cpsolver.studentsct with parameters of type Subpart
    Modifier and Type | Method and Description
    --- | ---
    `double` | StudentPreferencePenalties.`getMaxPenalty(Subpart subpart)` Maximal penalty of a subpart
    `double` | StudentPreferencePenalties.`getMinPenalty(Subpart subpart)` Minimal penalty of a subpart
    `protected Section` | StudentSectioningXMLLoader.`loadSection(Element sectionEl, Subpart subpart, Map<Long,Section> sectionTable, Map<Long,Placement> timetable)` Load section
    `protected void` | StudentSectioningXMLSaver.`saveSubpart(Element subpartEl, Subpart subpart)` Save scheduling subpart

    Method parameters in net.sf.cpsolver.studentsct with type arguments of type Subpart
    Modifier and Type | Method and Description
    --- | ---
    `protected Config` | StudentSectioningXMLLoader.`loadConfig(Element configEl, Offering offering, Map<Long,Subpart> subpartTable, Map<Long,Section> sectionTable, Map<Long,Placement> timetable)` Load config
    `protected Subpart` | StudentSectioningXMLLoader.`loadSubpart(Element subpartEl, Config config, Map<Long,Subpart> subpartTable, Map<Long,Section> sectionTable, Map<Long,Placement> timetable)` Load subpart

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

    Methods in net.sf.cpsolver.studentsct.constraint that return types with arguments of type Subpart
    Modifier and Type | Method and Description
    --- | ---
    `Set<Subpart>` | LinkedSections.`getSubparts(Offering offering)` Return subpart (or subparts) of an offering of this link

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

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

    Methods in net.sf.cpsolver.studentsct.model that return Subpart
    Modifier and Type | Method and Description
    --- | ---
    `Subpart` | Subpart.`getParent()` Parent subpart, if parent-child relation is defined between subparts
    `Subpart` | Section.`getSubpart()` Scheduling subpart to which this section belongs
    `Subpart` | CourseRequest.`getSubpart(long subpartId)` Return subpart of the requested courses with the given id

    Methods in net.sf.cpsolver.studentsct.model that return types with arguments of type Subpart
    Modifier and Type | Method and Description
    --- | ---
    `List<Subpart>` | Subpart.`getChildren()` Return children subparts
    `List<Subpart>` | Config.`getSubparts()` List of subparts
    `Set<Subpart>` | Offering.`getSubparts(String instructionalType)` Return list of all subparts of the given isntructional type for this offering.

    Methods in net.sf.cpsolver.studentsct.model with parameters of type Subpart
    Modifier and Type | Method and Description
    --- | ---
    `int` | Subpart.`compareTo(Subpart s)` Compare two subparts: put parents first, use ids if there is no parent-child relation
    `boolean` | Subpart.`isParentOf(Subpart subpart)` True, if this subpart is parent (or parent of a parent etc.) of the given subpart

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

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

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

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