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.
|
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
|
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
|
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
|
Modifier and Type | Method and Description |
---|---|
Set<Subpart> |
LinkedSections.getSubparts(Offering offering)
Return subpart (or subparts) of an offering of this link
|
Modifier and Type | Method and Description |
---|---|
Set<Section> |
LinkedSections.getSections(Subpart subpart)
Return section (or sections) of a subpart of this link
|
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
|
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.
|
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
|
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
|
Modifier and Type | Method and Description |
---|---|
Map<Subpart,Set<Section>> |
Reservation.getSections()
One or more sections on which the reservation is set (optional).
|
Modifier and Type | Method and Description |
---|---|
Set<Section> |
Reservation.getSections(Subpart subpart)
One or more sections on which the reservation is set (optional).
|